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

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
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 saving a customer or customer address that includes multiple attribute options which were deleted from the attribute configuration, the operation fails.

Steps to reproduce:

  1. Navigate to Admin and create a multiselect custom customer attribute (example: “test”) with options A, B, C, D.
  2. Create a customer from Admin and save values for this attribute (example: select A, B, C).
  3. Go back to attribute configuration and delete one of the options that was saved to the customer (example: delete option C).
  4. 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:

To learn more about Quality Patches Tool, refer to:

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