-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
- magento 2.3-develop
- Database Storage Mode Enabled
Steps to reproduce (*)
- Deploy 2.3-develop
- Change mode to database media storage mode
- Clear cache
- Create product and assign image
- Save Product
- Delete pub/media/catalog folder
www-data@dev:~/dev2$ rm -rf pub/media/catalog/
- Verify image exists in database
mysql> select filename,directory from media_storage_file_storage;
+----------------------------------+---------------------+
| filename | directory |
+----------------------------------+---------------------+
| preview_image_5d2093b1ab619.jpeg | theme/preview |
| preview_image_5d2093b1b954f.jpeg | theme/preview |
| a.jpg | catalog/product/a/_ |
+----------------------------------+---------------------+
3 rows in set (0.00 sec)
- run php/magento catalog:image:resize to generate cached images
Expected result (*)
Cached images generated in database and on file system
Actual result (*)
www-data@dev:~/dev2$ php bin/magento catalog:images:resize
File '/var/www/dev2/pub/media/catalog/product/a/_/a.jpg' does not exist.
Metadata
Metadata
Assignees
Labels
Fixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed