ACSD-48313: configurable_variations column not parsed if attribute value contains comma
The ACSD-48313 patch solves the issue where configurable_variations column is not parsed if the attribute value contains a comma. This patch is available when the Quality Patches Tool (QPT) 1.1.25 is installed. The patch ID is ACSD-48313. The version where this issue will be fixed is not yet available.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.4
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.0 - 2.4.4-p5
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
After exporting configurable products, the resulting file cannot be imported again because of a formatting issue with the configurable_variations attribute. This happens when there are attribute options which include a comma.
Steps to reproduce:
-
Go to Stores > Attributes > Product and create a new attribute Size:
-
Catalog Input Type for Store Owner: Dropdown.
-
Create options that include a comma, e.g.:
- 10,2cm
- 15,5cm
-
Advanced Attribute Properties - Scope: Global.
-
Create a new configurable product using the Create Configurations functionality.
-
Select the above attribute Size and the two options that include the comma.
-
Go to System > Data Transfer > Export and create a new Products export (execute the cron to trigger the generation of the CSV file).
-
Go to System > Data Transfer > Import and try to reimport the same CSV file created above.
Expected results:
User should be able to import file.
Actual results:
1. Column configurable_variations: Attribute with code "2cm" does not exist or is missing from product attribute set in row(s): 3
2. Column configurable_variations: Attribute with code "5cm" does not exist or is missing from product attribute set in row(s): 3
3. Column configurable_variations: Invalid option value for attribute "size" in row(s): 3
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.