ACP2E-5127: Saving a company with a non-English Admin locale resets Credit Limit to zero
The ACP2E-5127 patch fixes the issue where saving a company in the Admin resets its Credit Limit to 0 when the Admin user’s Interface Locale is not English. This patch is available when the Quality Patches Tool (QPT) 1.1.84 is installed. The patch ID is ACP2E-5127. Please note that this issue is scheduled to be fixed in Adobe Commerce B2B 1.5.4.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) B2B 1.5.3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) B2B 1.3.3 - 1.5.3
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
Saving a company in the Admin resets its Credit Limit to 0 when the Admin user’s Interface Locale is not English, for example German.
Prerequisites:
B2B is installed.
Steps to reproduce:
- In the Admin, go to Stores > Settings > Configuration > General > B2B Features and set Enable Company to Yes.
- Add a new company in the Admin. Set Credit Limit to 1234.56 and click Save.
- In the Admin, go to System > Permissions > All Users, click the Admin user’s name, set Interface Locale to German (Germany), and click Save User. Sign in as that user.
- Reopen the same company, change another field, such as Company Legal Name, without changing Credit Limit, and click Save.
- Reopen the company and check Credit Limit in the Company Credit section.
Expected results:
The Credit Limit remains the same.
Actual results:
The Credit Limit is reset to 0.
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