MDVA-36853: No images load from large media galleries

The MDVA-36853 patch fixes the issue when no images load since the page builder media gallery widget doesn’t load when you have a large media directory.

This patch is available when the Quality Patches Tool (QPT) 1.0.22 is installed. The patch ID is MDVA-36853. Please note that the issue is scheduled to be fixed in Adobe Commerce version 2.4.3.

Affected products and versions

The patch is created for Adobe Commerce version: Adobe Commerce on cloud infrastructure 2.4.2

Compatible with Adobe Commerce versions: Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.4.2

NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Steps to reproduce:

  1. Set Enable Old Media Gallery = Yes in Admin > Stores > Configuration > Advanced > System > Media gallery.
  2. Navigate to Content > Blocks, and create a new CMS block or edit an existing CMS block.
  3. Click on the Edit with Pagebuilder button.
  4. Add a media element.
  5. Click on the Select from Gallery button.

Expected results:

The media gallery widget and media gallery images both load, as expected.

Actual results:

The media gallery widget and media gallery images both do not load when you have a large pub/media/catalog/product/cache/ directory.

Apply the patch

To apply individual patches, use the following links, depending on your Adobe Commerce product:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT tool, refer to the Patches available in QPT tool section.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a