[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-59378: Store-level URL rewrites incorrectly updated during import

The ACSD-59378 patch fixes the issue where the store-level URL rewrites are incorrectly updated during import. This patch is available when the Quality Patches Tool (QPT) 1.1.50 is installed. The patch ID is ACSD-59378. Please note that this issue was fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

Adobe Commerce (all deployment methods) 2.4.5-p5

Compatible with Adobe Commerce versions:

Adobe Commerce (all deployment methods) 2.4.5x (all versions of 2.4.5)

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

Store-level URL rewrites are incorrectly updated during import.

Steps to reproduce:

  1. Create a product with url_key = key_default on the All Store Views scope.

  2. Set url_key = key_store in the Default Store View scope.

  3. Export the product.

  4. Import a CSV file for this product with the following data in it:

    • store_view_code column is set to empty so that it applies for the All Store Views scope.
    • url_key is set to the default key key_default.

Expected Results:

URL rewrites are only regenerated for store views where there’s no overridden url_key (where the default url_key applies).

Actual Results:

key_store URL rewrites are deleted, but the URL rewrite on the Default Store View level for the product is still set to key_store.

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:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3