nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Edits phone number even is invalid number is inputted #543

Open nus-pe-bot opened 5 months ago

nus-pe-bot commented 5 months ago

image.png

Editted a phone number to 00000099999999. It is an invalid phone number in this programme's context as stated, however, it may be a valid phone number in other countries with different coutry codes. Given that the student may be from other countries using other phone numbers, this invalid phone number should be flagged out to the user just in case they are saving an invalid phone number.

This is a serious issue that may cause clients to be uncontactable. Hence, i am assigning this a severity of medium.


[original: nus-cs2113-AY2324S2/pe-interim#617] [original labels: type.FunctionalityBug severity.Medium]

Cryolian commented 5 months ago

Team's Response

It has been stated in our user guide that only a certain type of phone number can be input into the program. This specific case can also be seen as an extreme user behaviour as no country code starts with 0.

image.png

image.png

Duplicate status (if any):

--