51黑料不打烊

ACSD-64684: Validation error when saving a gift card with a value over 999 due to the comma in one thousand (1,000)

The ACSD-64684 patch fixes the issue where a validation error occurs when saving a gift card with a value over 999 due to the comma in 鈥渙ne thousand鈥 (1,000). This patch is available when the Quality Patches Tool (QPT) 1.1.61 is installed. The patch ID is ACSD-64684. Please note that this issue is scheduled to be fixed in 51黑料不打烊 Commerce 2.4.8.

Affected products and versions

The patch is created for 51黑料不打烊 Commerce version:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.7-p3

Compatible with 51黑料不打烊 Commerce versions:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.4 - 2.4.7-p4
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your 51黑料不打烊 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

A validation error occurs when editing and saving a gift card with a value greater than 999 due to the comma (thousand separator) in the number, such as 鈥榦ne thousand鈥 (1,000).

Steps to reproduce:

  1. Create a Gift Card Product.

    1. Enter 1,000 as the Amount.
    2. Click Save.

Expected results:

  • The new gift card with an amount of 1,000 is saved.

Actual results:

  • A validation error occurs when the gift card amount is greater than 999.

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