[wp-trac] [WordPress Trac] #57489: Media items, which have already been uploaded, disappear when the upload dialog box is closed and then opened again.
WordPress Trac
noreply at wordpress.org
Tue Jan 24 19:38:29 UTC 2023
#57489: Media items, which have already been uploaded, disappear when the upload
dialog box is closed and then opened again.
-------------------------------------------------+-------------------------
Reporter: shamayel007 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version: 6.1.1
Severity: major | Resolution:
Keywords: has-screenshots needs-testing has- | Focuses: javascript
testing-info |
-------------------------------------------------+-------------------------
Comment (by dariak):
== Reproduction Report
I have been trying to reproduce the issue, and probably we need to clarify
the expected result and behaviour. The behavior, which I got, is also not
clear to me.
=== Environment
* OS: macOS 13.1
* Web Server: Nginx
* PHP: 7.4.1
* WordPress: 6.1.1
* Browser: Chrome 109
* Theme: Twenty Twenty-Two
Active Plugins: none
(I used Local to build a clean WordPress environment).
=== Actual Results
- Go to create new page.
- Insert Gallery block.
- Click Media Library.
- Upload 3 JPEG images.
- Choose 1 image and click "Create a new gallery".
- Close the popup by clicking X.
- Click Media Library in the Gallery block -> you are in "Edit gallery",
which is empty (I would expect it to be empty).
- Click "Add to gallery" in the left side menu -> you see Media library
with 3 uploaded images.
- Choose 1 image and click "Create a new gallery".
- Close the popup by clicking X.
- Click Media Library in the Gallery block -> you are in "Edit gallery",
which is empty (I would expect it to be empty).
- Click "Add to gallery" in the left side menu -> you see Media library
with only 2 uploaded images.
- Choose 2 images and click "Create a new gallery".
- Close the popup by clicking X.
- Click Media Library in the Gallery block -> you are in "Edit gallery",
which is empty (I would expect it to be empty).
- Click "Add to gallery" in the left side menu -> you see Media library
which is empty.
I suppose this is the problem.
- However, now close the popup by clicking X.
- Click Media Library in the Gallery block -> you are in "Edit gallery",
which is empty (I would expect it to be empty).
- Click "Add to gallery" in the left side menu -> you see Media library
with 3 images.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57489#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list