nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Invalid phone number works #4580

Open nus-pe-bot opened 2 months ago

nus-pe-bot commented 2 months ago

Steps to reproduce

  1. Input add n/a p/1412323233434 e/aa@gmail a/1234 c/aaa

Expected Error message to be shown

Actual No error message shown

Screenshot 2024-04-19 at 4.21.33 PM.png


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

gavingoh99 commented 2 months ago

Team's Response

Phone numbers in the world vary in length.

It would be overzealous to reject a phone number of length 13. (PS: The longest valid phone number in the world is 15 digits, not to mention country codes or extensions)

Duplicate status (if any):

--