nus-cs2103-AY2223S2 / pe-dev-response

1 stars 0 forks source link

Wrong error message for long phone number input #4043

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

Input: add n/Betsy e/betsy@example.com a/Newgate p/123456789012345 s/5000 c/Maybank pr/LOW tr/10

Based on the error message "Phone numbers should only contain numbers, and it should be at least 3 digits long and less than 15 digits", the phone number "123456789012345" should not be accepted since it is exactly 15 digits long. However, it's accepted as valid input.

Error message: Error.png

Output: Output.png


[original: nus-cs2103-AY2223S2/pe-interim#3671] [original labels: severity.Low type.FunctionalityBug]

jjiayyingtt commented 1 year ago

Team's Response

No details provided by team.

Duplicate status (if any):

--