Malta zipcode validation incomplete #8863
Labels
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Zip code validation fails on adresses from Malta when containing 4 numbers (ABC 1234).
Preconditions
On all 2.* versions including development branch.
Steps to reproduce
go to cart or checkout and insert ABC 1234. Validation fails
Expected result
Validation should succeed.
Actual result
Validation fails
Solution
insert an extra validation rule containing
<code id="pattern_X" active="true" example="ABC 1234">^[a-zA-Z]{3}\s[0-9]{4}$</code>
at
magento2/app/code/Magento/Directory/etc/zip_codes.xml
Line 281 in cec25e1
The text was updated successfully, but these errors were encountered: