nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Wrong Error message given to user when erroneous input given for number #3539

Open nus-se-script opened 10 months ago

nus-se-script commented 10 months ago

When the command add n/Judas 1800 space p/1800 111 2222 e/judas@example.com s/A1234567J tele/@judas is used, the error message states incorrectly that the phone numbers should only contain numbers. However, when users type in a number in the 1800- format, they usually type the phone number in the format given above.

image.png


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

cbj252 commented 10 months ago

Team's Response

Although the suggestion is not wrong, it does not add much to the product, given the user can simply put their phone number all together (so, using the given example: "18001112222") to get through the validation.

Duplicate status (if any):

--