WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 6 weeks ago

#46241 accepted defect (bug)

Bug Report: Creating Multiple Gallerys with Gutenberg and Latest WordPress

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

Description

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.


11 months ago

#2 @antpb
11 months 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: https://github.com/WordPress/gutenberg/issues/9072

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.


6 months ago

#4 @antpb
6 months 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
4 months ago

Hi @antpb Can you please update here? I am seeing the issue https://github.com/WordPress/gutenberg/issues/9072 mentioned by you is closed.

#6 @audrasjb
6 weeks 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.