ACSD-67904: Orders can’t be placed if the city name contains digits (0–9), ampersand (&), period (.), or parentheses ()
The ACSD-67904 patch fixes the issue where orders can not be placed if the city name contains digits, ampersands (&), periods (.), or parentheses, and documents a fix that allows such city names to be processed without validation errors. This patch is available when the Quality Patches Tool (QPT) 1.1.71 is installed. The patch ID is ACSD-67904. Please note that this issue is scheduled to be fixed in 51ºÚÁϲ»´òìÈ Commerce 2.4.9.
Affected products and versions
The patch is created for 51ºÚÁϲ»´òìÈ Commerce version:
- 51ºÚÁϲ»´òìÈ Commerce (all deployment methods) 2.4.8
Compatible with 51ºÚÁϲ»´òìÈ Commerce versions:
- 51ºÚÁϲ»´òìÈ Commerce (all deployment methods) 2.4.8 - 2.4.8-p2
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
Orders can’t be placed if the city name contains digits (0–9), ampersand (&), period (.), or parentheses ().
Steps to reproduce:
-
Add a simple product to the cart.
-
Go to the checkout.
-
On the address page enter any of the following city names:
- St. Moritz
- St. Petersburg
- Brighton & Hove
- St. Davids
- 29 Palms
-
Try to place the order.
Expected results:
The order is successfully placed.
Actual results:
The order isn’t placed, and the following error message appears:
Invalid City. Please use A-Z, a-z, 0-9, -, ', spaces.
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