ACP2E-3094: Viewing or editing Category Permissions for category with many permissions causes unresponsive browser

The ACP2E-3094 patch fixes the issue where viewing or editing Category Permissions for a category with many permissions can cause the browser to become unresponsive. This patch is available when the Quality Patches Tool (QPT) 1.1.86 is installed. The patch ID is ACP2E-3094. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.8.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.7-p10

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.5 - 2.4.7-p10
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

When you view or edit Category Permissions for a category with many permissions the browser can become unresponsive.

Prerequisites:

Adobe Commerce with Category Permissions enabled.

Steps to reproduce:

  1. In the Admin panel, go to Stores > Settings > Configuration > Catalog > Catalog, expand Category Permissions, set Enable to Yes, and click Save Config.
  2. Make sure that the store has a large number of customer groups, for example 20,000, and that a category, for example Default Category, has a permission for each of them.
  3. Go to Catalog > Categories, select that category, and expand Category Permissions.
  4. Click New Permission.

Expected results:

  1. The Category Permissions section opens with the existing permissions split into pages, and the browser stays responsive.
  2. Clicking Add Permission, the new name of the New Permission button, adds a new permission row.

Actual results:

The browser stops responding while the Category Permissions section loads or after New Permission is clicked, and the page can crash with an Out of Memory error.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools