-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ConfigFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: PR CreatedIndicates that Pull Request has been created to fix issueIndicates that Pull Request has been created to fix issueReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release
Description
Preconditions (*)
- 2.2-develop or 2.3-develop
Steps to reproduce (*)
- Setup Magento
- Change media storage mode to database
- Synchronize
- Save Settings
- Content->Configuration->Edit->Transactional Emails
- Upload New Image (but don't save)
- Verify temporary email logo exists in pub/media
- Verify temporary email logo exists in database
- Save Config
- Verify email logo exists in pub/media
- Verify email logo exists in database
Expected result (*)
- After saving the config, the email logo image should be present in both database and filesystem
Actual result (*)
- Email logo is not present in database
Step 7
www-data@dev:~/dev2$ find pub/media -name *.jpg
pub/media/tmp/design/file/Forklift.200x100.jpg
Step 8
www-data@dev:~/dev2$ mysql dev2_magento -e "select filename,directory from media_storage_file_storage"
+----------------------------------+-----------------+
| filename | directory |
+----------------------------------+-----------------+
| preview_image_5c85077ebb298.jpeg | theme/preview |
| preview_image_5c85077ed85e1.jpeg | theme/preview |
| Forklift.200x100.jpg | tmp/design/file |
+----------------------------------+-----------------+
Step 10
www-data@dev:~/dev2$ find pub/media -name *.jpg
pub/media/email/logo/stores/1/Forklift.200x100.jpg
Step 11
www-data@dev:~/dev2$ mysql dev2_magento -e "select filename,directory from media_storage_file_storage"
+----------------------------------+-----------------+
| filename | directory |
+----------------------------------+-----------------+
| preview_image_5c85077ebb298.jpeg | theme/preview |
| preview_image_5c85077ed85e1.jpeg | theme/preview |
| Forklift.200x100.jpg | tmp/design/file |
+----------------------------------+-----------------+
Step 11 has failed. The file is still in the database in the temporary location. It was not changed when the config was saved.
Metadata
Metadata
Assignees
Labels
Component: ConfigFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: PR CreatedIndicates that Pull Request has been created to fix issueIndicates that Pull Request has been created to fix issueReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release