nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Email fits constraints, but still doesn't get added #2667

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

When i try to input a specific person with a specific email, "A+++A@aa.com". this is the error message shown "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."

i believe that the email fits all the constraints, but it is still not getting accepted. Might be good to update error message in case it confuses users.

image.png


[original: nus-cs2103-AY2425S1/pe-interim#3637] [original labels: severity.Low type.FunctionalityBug]

IsaacPangTH commented 5 days ago

Team's Response

No details provided by team.

Duplicate status (if any):

--