ACSD-67904: Orders can't be placed if the city name contains digits (0–9), ampersand (&), period (.)…
Orders can't be placed if the city name contains digits (0–9), ampersand (&), period (.), or parentheses (). Quality patch ACSD-67904 for magento/module-customer applies to Magento Open Source and Adobe Commerce 2.4.8 to 2.4.8-p5.
- Categories
- Customer, Order/Checkout
- Components
- magento/module-customer
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.71
Issue
Orders can't be placed if the city name contains digits (0–9), ampersand (&), period (.), or parentheses ().
Steps to reproduce
1. Add a simple product to the cart. 1. Go to the checkout. 1. On the address page enter any of the following city names: * St. Moritz * St. Petersburg * Brighton & Hove * St. Davids * 29 Palms 1. Try to place the order.
Adobe's page lists 2.4.8 - 2.4.8-p2 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Adobe scheduled the permanent fix for 2.4.9.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-67904. On Cloud, add ACSD-67904 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-67904/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-base >=2.4.8 <2.4.9
- Replaced with
- ACP2E-4528
- Patch file
- patches/os/ACSD-67904_2.4.8.patch
- vendor/magento/module-customer/Model/Validator/City.php
