[wp-trac] [WordPress Trac] #53169: Media library upload freezes on multiple uploads from gallery
WordPress Trac
noreply at wordpress.org
Fri May 7 00:10:37 UTC 2021
#53169: Media library upload freezes on multiple uploads from gallery
--------------------------+-----------------------------
Reporter: glendaviesnz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Related to https://github.com/WordPress/gutenberg/issues/11373, and
possibly https://core.trac.wordpress.org/ticket/50210
If adding a Gallery via Gutenberg, if a file is dropped onto the core
media library the first upload succeeds as expected. If a second Gallery
is added and another image dropped on the core media library this uploaded
freezes and an uncaught exception `Uncaught TypeError: Cannot read
property 'text' of undefined` in the `wp_includes/js/media-views.js file.
To replicate:
1. Go to Posts > Add new.
2. Add a title.
3. Add a Gallery block.
4. Click on Media Library inside the Gallery Block, add two photos.
5. Enter the gallery on to the page. The photos appear. All is fine.
6. Add another Gallery block.
7. Click on Media Library in the Gallery Block again,
8. Drag a photo onto the Media library to upload it.
9. The upload bar shows 15%-ish done, but then just hangs. Nothing is
shown on the far right side. If I click on the photo upload, I get the
name of the image, so the Media library is only partially not working.
10. Using the x on the upper right to close the Media library and opening
it again, just brings up the same frozen upload.
11. Drag another photo into the Media Library, upload also hangs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53169>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list