Skip to content

The content modules does not aware of Media Gallery status #1750

Closed
magento/magento2
#29492
@Nazar65

Description

@Nazar65

Preconditions (*)

  1. Magento 2.4-dvelop installed
  2. New media Gallery Disabled by default.

Steps to reproduce (*)

  1. Navigate to Cms grid or Product Grid
  2. Create new (product or page or block)
  3. Attach image to the descriptions field of entity
  4. 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)"} []

Metadata

Metadata

Assignees

Labels

Priority: P3May be fixed according to the position in the backlogProgress: doneSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions