WordPress.org

Make WordPress Core

#22815 closed defect (bug) (fixed)

Gallery Editing Sometimes Shows Wrong Images

Reported by: miqrogroove Owned by: ryan
Milestone: 3.5.1 Priority: normal
Severity: minor Version: 3.5
Component: Media Keywords: has-patch commit fixed-major
Focuses: Cc:

Description

Steps to reproduce this:

  1. Select a few images.
  2. Click Create a new gallery.
  3. Click Add to Gallery (tab).
  4. Select a few more images.
  5. Click Add to gallery (button).
  6. Click Add to Gallery (tab) and note the library state.
  7. Click Cancel Gallery.
  8. Click Create a new gallery.
  9. Click Add to Gallery (tab).

Expected result:

The Media Library should display all images that are not part of the current gallery.

Actual result:

The Media Library displays the images that were available to the previous gallery, minus any images in the current gallery.

Workaround:

Reset the filter to "Uploaded to this post" and then back to "Images".

Found in 3.5-RC4-23121.

Change History (4)

comment:1 nacin19 months ago

  • Milestone changed from Awaiting Review to 3.5.1

comment:2 koopersmith18 months ago

In 23263:

Media: Properly reset the "add to gallery" library to ensure it accurately reflects the current gallery. see #22815.

comment:3 nacin18 months ago

  • Keywords has-patch commit fixed-major added

comment:4 ryan18 months ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In 23285:

Media: Properly reset the "add to gallery" library to ensure it accurately reflects the current gallery.

fixes #22815
for 3.5

Note: See TracTickets for help on using tickets.