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
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:
-
Install Adobe Commerce version 2.4.4.
-
Create a customer.
-
Upgrade Adobe Commerce to 2.4.6 from the earlier version of 2.4.4 where a customer was already created.
-
Set the encryption key as below in
env.php
:d337b914e91ff703b1e94ba4156aadf0
-
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"
-
Go to Admin > Customers > All Customers.
-
Edit the customer for which the above values were updated.
-
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:
- 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
- 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
- Best practices for modifying database tables in the Commerce Implementation Playbook
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.