ACSD-48661: company credit limit comma separator validation issue

The ACSD-48661 patch fixes the issue where when the company credit limit is larger than 999, the comma separator prevents the saving of the company due to a validation error. This patch is available when the Quality Patches Tool (QPT) 1.1.26 is installed. The patch ID is ACSD-48661. 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.5-p1

Compatible with Adobe Commerce versions:

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

When the company credit limit is larger than 999, the comma separator prevents the company from saving due to a validation error.

Steps to reproduce:

  1. Enable the company feature at Store > Configuration > General > B2B Features.
  2. Create a company and add a credit limit larger than 999 under the Company Credit tab.
  3. Save the company.
  4. Edit the company and try to save it again.

Expected results:

You are able to save the company without fixing the credit limit. Comma is not supported for input fields for the amounts and prices.

Actual results:

You are not able to save the company due to a validation error in the Credit Limit field. Adobe Commerce automatically adds comma separators for credit limits even though the Credit Limit field does not accept commas.

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:

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