Open snowstopxt opened 5 days ago
Duplicate as #2815, this is a documentation bug.
[The team marked this bug as a duplicate of the following bug]
Incomplete error message for invalid email addresses
The error message when adding, editing to an email address that is invalid is incomplete, the error states that:
Emails should be of the format local-part@domain and adhere to the following constraints: 1. The local-part should only contain alphanumeric characters and these special characters, excluding the parentheses, (+_.-). The local-part may not start or end with any special characters. 2. This is followed by a '@' and then a domain name. The domain name is made up of domain labels separated by periods. The domain name must: - end with a domain label at least 2 characters long - have each domain label start and end with alphanumeric characters - have each domain label consist of alphanumeric characters, separated only by hyphens,if any.
However, it does not pick up the issue on having two consecutive
_
in the email local-part, to fix this, we can complete the error message by adding3. Local-part should not have consecutive special characters
or updating the User Guide for the domain constraints.For replication purposes:
add n/Jollibee p/92929292 e/jo____llibee@yahoo.com a/NUS U-Town cp/ r/
[original: nus-cs2103-AY2425S1/pe-interim#3846] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
We agree that we overlooked this issue and did not mention it in the application or the UG. Hence, this is a documentation bug that we have missed out.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
The email field restricted this valid email according to the email requirements.