Closed
Description
This issue is automatically created based on existing pull request: #29972: Update zip_codes.xml
Changed regex for zipcodes from Brazil. All zipcode must have 8 positions, with or without dash
Preconditions: (*)
Magento 2.4-develop
Changed the regex to force 8 digits for zipcode in Brazil
Related Pull Requests
n/a
Fixed Issues (if relevant)
Didn't found issue but a lot of people asking for help in forums
Steps to reproduce: (*)
Format of zipcodes in Brazil: 99999-999 or 99999999
- Put any number less than 8 digits (ex: 01001) - ERROR
- Put a number with 8 digits, without dash (ex: 01001-001) - OK
- Put a number with 5 digits, a dash and more 3 digits (ex: 01001-001) - OK
Actual Result: ✖️ It possible to use 5 digits ZIP code
Expected Result: ✔️ all zip codes for Brazil must have 8 digits
Questions or comments
First contribution to Magento, please let me know if I need to provide more info
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- [N/A] All new or changed code is covered with unit/integration tests (if applicable)
- [N/A] All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done