Closed
Description
Preconditions (*)
- Magento 2.2-develop or 2.3-develop
Steps to reproduce (*)
- Vanilla install of 2.2-develop or 2.3-develop
- Change mode to database storage, synchronise and save settings
- Add new product and assign an image
- Save the product
- Verify that the image is present in the filesystem (2.3-develop will fail this test due to [2.3] Database Media Storage - New Product Images fail to be processed correctly #21546. Don't worry, carry on the test as we are going to clear the images anyway in Step 8)
- Edit the product and view the images section. Verify image displays correctly in the images and videos section. (2.3-develop will fail this test due to [2.3] Database Media Storage - New Product Images fail to be processed correctly #21546. Don't worry, carry on the test as we are going to clear the images anyway in Step 8)
- Now simulate running on a new node in a cluster by clearing pub/media/catalog
- Now refresh the product edit page.
- Verify that the product image is still shown correctly
Expected result (*)
- When the admin page is refreshed, Magento should realise we are in database storage mode, and see that the image does not exist locally in pub/media/catalog. It should be copied from the database to local storage and then should be displayed on the product edit page.
Actual result (*)
- Placeholder image is shown with 0 size.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates that Pull Request has been created to fix issueThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release