Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#46241 accepted defect (bug)

Bug Report: Creating Multiple Gallerys with Gutenberg and Latest WordPress

Reported by: starcrescendo's profile starcrescendo Owned by: antpb's profile antpb
Milestone: Future Release Priority: normal
Severity: major Version: 5.0.3
Component: Gallery Keywords: needs-patch
Focuses: Cc:


Problem: All images in media library are added to Gallery after creating a new Gallery on the same page and choosing to edit it.

Exact Steps to Reproduce:
1) Create a new gallery block using Gutenberg editor. Choose Upload and upload 3 images to the gallery.
2) Add a heading block to the page
3) Add another gallery block below that using the Gutenberg editor. Upload 3 new images to this gallery.
4) Once this is done, click the pencil icon to edit this gallery block

What happens:
You will see all the images in the entire media library are added and selected, and you have to manually deselect them. If you don't and hit Update Gallery it will add all of the images in the library to the gallery.

Change History (6)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

5 years ago

#2 @antpb
5 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 5.3
  • Owner set to antpb
  • Status changed from new to accepted

Hi @starcrescendo thanks for this report. I know exactly the issue you are seeing and we are working on it on github via the Gutenberg repository. I have the issue here:

I think visibility over this issue is great to have in both Trac and Github so I’ll be leaving this ticket open and will update as I see this moving along. Thanks!

This ticket was mentioned in Slack in #core by david.baumwald. View the logs.

5 years ago

#4 @antpb
5 years ago

  • Milestone changed from 5.3 to 5.4

as much as I'd love for this to land in 5.3 I don't think I'll be able to land a PR on the Github issue in time for RC. I'm going to move this to 5.4 as I continue to investigate. Anyone else, feel free to take ownership if you find a fix!

#5 @faisal03
5 years ago

Hi @antpb Can you please update here? I am seeing the issue mentioned by you is closed.

#6 @audrasjb
4 years ago

  • Milestone changed from 5.4 to Future Release

Hi there,

With Beta 3 approaching, we'll need a decision and a commit action very soon.
For Component maintainers: if you don't feel the current patch is ready to land in WP 5.4 in the next few day, it's could be better to move it to 5.5. We're leaving it in the milestone for now.

Note: See TracTickets for help on using tickets.