ACSD-52133: Customer account cannot be saved after an upgrade

The ACSD-52133 patch fixes the issue where a customer account cannot be saved after an upgrade. This patch is available when the Quality Patches Tool (QPT) 1.1.35 is installed. The patch ID is ACSD-52133. Please note that the issue is scheduled to be 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.6

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.6 - 2.4.6-p1
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

Customer account cannot be saved after an upgrade.

Steps to reproduce:

  1. Install Adobe Commerce version 2.4.4.

  2. Create a customer.

  3. Upgrade Adobe Commerce to 2.4.6 from the earlier version of 2.4.4 where a customer was already created.

  4. Set the encryption key as below in env.php:

    d337b914e91ff703b1e94ba4156aadf0

  5. Set the values below into database for any customer under the customer_entity table:

    code language-none
    -> rp_token as incr4869
    -> rp_token_created_at as "2021-04-29 20:06:14"
    
  6. Go to Admin > Customers > All Customers.

  7. Edit the customer for which the above values were updated.

  8. Click on Save Customer or Save and Continue Edit

Expected results:

The customer is saved successfully without errors.

Actual results:

  • The customer record is not saved.
  • The admin sees the following error message: Something went wrong while saving the customer.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

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