xuwen-ho / pe

0 stars 0 forks source link

Wrong error message for add command, does not mention about 2 special characters in a row #6

Open xuwen-ho opened 7 months ago

xuwen-ho commented 7 months ago

image.png

image.png

Error message for add says that for email, local part can contain '-' as long as not start or end, but does not say anything about two special characters in a row. So as a user I assume 2 special characters in a row is ok, but when i try doing

add n/Betsy Crowe t/recruiter e/betsy--crowe@example.com a/Betsy street, block 456, #02-02 p/1234567, i get an error

this bug stops me from adding emails

nus-pe-script commented 7 months ago

Team's Response

Good to fix in future versions.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: I feel this is valid because it is not covered in the error message and it can be clearer.