-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Product images gets removed from "Images And Videos" after validation alert. #7372
Comments
Internal ticket created MAGETWO-60919. Thanks for reporting |
I've had this same issue as well. |
I have the same problem as well. |
@candia, thank you for your report. |
Kindly let me know the fix for this issue. |
Hi @candia. Thank you for your report. The fix will be available with the upcoming 2.2.5 release. |
…ter validation alert. - Add check for product in case of not initialized product.
When adding a new product with an image, if a validation error occurs when trying to save the prodcut, the images gets removed from the "Images And Videos" section. If you fix the validation conflict and try to save the product again, an error will occur with "The file "/home/user/www/pub/media/tmp/catalog/product/o/r/pic.png" doesn't exist or not a file"
Preconditions
Steps to reproduce
Expected result
Magento should remember the image that was added before validation occurred and save the product with the image.
Actual result
I checked the pub/media/tmp and the image was added to the folder, however once I click save and validation is triggered the image gets removed from the pub/media/tmp.
The text was updated successfully, but these errors were encountered: