WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 5 months ago

#46241 accepted defect (bug)

Bug Report: Creating Multiple Gallerys with Gutenberg and Latest WordPress

Reported by: starcrescendo Owned by: antpb
Milestone: 5.3 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 (2)

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


5 months ago

#2 @antpb
5 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!

Note: See TracTickets for help on using tickets.