Closed
Description
Preconditions (*)
- Magento 2.4-dvelop installed
- New media Gallery Disabled by default.
Steps to reproduce (*)
- Navigate to Cms grid or Product Grid
- Create new (product or page or block)
- Attach image to the descriptions field of entity
- Save entity (note that new media gallery disabled)
Expected result (*)
Exception.log file is empty there is no any exception
Actual result (*)
[2020-08-12 10:30:12] main.CRITICAL: There is no such media asset with path "wysiwyg/womens/womens-t-shirts.png" {"exception":"[object] (Magento\\Framework\\Exception\\NoSuchEntityException(code: 0): There is no such media asset with path \"wysiwyg/womens/womens-t-shirts.png\" at /var/www/html/magento24/app/code/Magento/MediaGallery/Model/Asset/Command/GetByPath.php:81)"} []
[2020-08-12 10:30:12] main.CRITICAL: An error occurred during get media asset list: There is no such media asset with path "wysiwyg/womens/womens-t-shirts.png" {"exception":"[object] (Magento\\Framework\\Exception\\IntegrationException(code: 0): An error occurred during get media asset list: There is no such media asset with path \"wysiwyg/womens/womens-t-shirts.png\" at /var/www/html/magento24/app/code/Magento/MediaGallery/Model/Asset/Command/GetByPath.php:103, Magento\\Framework\\Exception\\NoSuchEntityException(code: 0): There is no such media asset with path \"wysiwyg/womens/womens-t-shirts.png\" at /var/www/html/magento24/app/code/Magento/MediaGallery/Model/Asset/Command/GetByPath.php:81)"} []