ACSD-68430: Saving a customer or customer address failed if the record included multiple attribute options that had been deleted from the attribute configuration
The ACSD-68430 patch fixes an issue where saving a customer or customer address fails if the record includes multiple attribute options that were deleted from the attribute configuration. This patch is available when the Quality Patches Tool (QPT) 1.1.74 is installed. The patch ID is ACSD-68430. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p6
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.6 - 2.4.7-p8
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 saving a customer or customer address that includes multiple attribute options which were deleted from the attribute configuration, the operation fails.
Steps to reproduce:
- Navigate to Admin and create a multiselect custom customer attribute (example: “test”) with options A, B, C, D.
- Create a customer from Admin and save values for this attribute (example: select A, B, C).
- Go back to attribute configuration and delete one of the options that was saved to the customer (example: delete option C).
- In Admin, try to edit that same customer’s record - change any field (like gender or prefix) and click Save.
Expected results:
Customer record changes are saved without errors.
Actual results:
An error occurs when saving changes to the customer record: Attribute [attribute_name] does not contain option with Id [deleted_option_id].
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: A self-service tool for quality patches in the Tools guide.