freddychenyouren2 / pe

0 stars 0 forks source link

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

Open freddychenyouren2 opened 10 months ago

freddychenyouren2 commented 10 months 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.

soc-se-bot commented 10 months ago

Your response not required for this bug as the team has accepted the bug as it is.