nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Inappropriate error message in entering invalid email #5520

Open nus-pe-bot opened 6 months ago

nus-pe-bot commented 6 months ago

I attempted to enter the email c--de@de.com and it correctly prevented me from doing so. However, the error message I get tells me the following:

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.

Here, the local part does indeed only contain alphanumeric characters and special characters among those, and it does not start or end with special characters. So according to the error message, this is a valid local-part. However, since it has consecutive special characters, it is correctly deemed invalid.


[original: nus-cs2103-AY2324S2/pe-interim#5460] [original labels: severity.Low type.FeatureFlaw]

yeoshuheng commented 6 months ago

Team's Response

This is the same issue pertaining to a lack of clarity within the documentations.

Duplicate status (if any):

Duplicate of #4316