nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Ambiguous format of Special Characters allowed in local-part of Email #2724

Open nus-se-script opened 1 year ago

nus-se-script commented 1 year ago

Under Email field of a contact, there is the following constraint:

  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.

The following command is entered: add n/testagain p/1234 e/email++yeet@gg.com

Expected: A new contact is created Actual: Error message on email constraints is given.

This could be a potential confusion for users when they need to input emails that contains multiple special characters

image.png

Another test is conducted with the following command and it worked: add n/waterson p/1234 e/email+yeet+waterson@gg.com

image.png

Users may be confused by the email constraint message. Perhaps a better error message or better explanation in User Guide and Developer Guide could resolve this.


[original: nus-cs2103-AY2324S1/pe-interim#3992] [original labels: severity.Low type.DocumentationBug]

nicholastngyk commented 1 year ago

Team's Response

No details provided by team.

Duplicate status (if any):

--