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
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:
-
Create a Gift Card Product.
- Enter 1,000 as the Amount.
- 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:
- 51黑料不打烊 Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- 51黑料不打烊 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.