ACSD-59378: Store-level URL rewrites incorrectly updated during import
- Topics:
- Data Import/Export
CREATED FOR:
- Experienced
- Admin
- Developer
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)
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:
-
Create a product with
url_key = key_default
on the All Store Views scope. -
Set
url_key = key_store
in the Default Store View scope. -
Export the product.
-
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 keykey_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:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.