Description
Preconditions and environment
Magento 2 versions tested:
- 2.4.6-p4 (with the default Blank theme).
- 2.4.7 (also tested with the default Blank theme).
Configuration:
- Stores > Configuration > Customers > Customer Configuration > Show Telephone: Set to Required.
Issue observed in both environments and themes.
Steps to reproduce
- Go to My Account as a logged-in customer.
- Attempt to Add or Edit the telephone field under account details.
- Enter invalid input, such as text or symbols (e.g., "abc123" or "!@#").
- Save the changes.
Expected result
- The telephone field in the My Account section should validate input to ensure it is a valid phone number (e.g., digits only, proper phone format).
- Invalid input should trigger an error message and prevent saving.
Actual result
- The telephone field in My Account allows invalid input (e.g., text or symbols) without validation.
- In the checkout, when retrieving customer details from the account, the invalid phone number causes errors during the shipping process.
- For example, UPS shipping fails to process the order due to incorrect phone number format.
Additional information
- Video evidence of the issue is attached for reference.
- The issue occurs regardless of the Magento version (tested on 2.4.6-p4 and 2.4.7) or theme used (Blank theme).
- This inconsistency between the My Account section and Checkout makes it critical, as incorrect phone numbers lead to shipping failures.
phone_validation.mp4
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branch