Open PearlynnT opened 7 months ago
Thank you for bringing this up.
We have to admit that not all countries have 8 digit phone numbers. Hence, 7 digit phone numbers are possible, for example if our user is saving a connection/recruiter from overseas.
In addition, this does not seem like a documentation bug.
That being said, it is possible that we can handle these scenarios better by adding warnings, etc.
[The team marked this bug as a duplicate of the following bug]
No upper bound on phone number
Ok tbh I not very sure if this is a bug but there's no upper bound on the phone number
possible that user accidentally holds down a number
I added 9876543211111111111111111111111 and it worked
[original: nus-cs2103-AY2324S1/pe-interim#4448] [original labels: type.FeatureFlaw severity.VeryLow]
[This is the team's response to the above 'original' bug]
Thanks for pointing this out! We can consider having a warning for this kind of uncommonly long phone numbers.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
There should be a check on the number on digits for the phone number (by convention, phone number has 8 digits). I managed to add a person with a 7 digit phone number. This may cause users to have the incorrect contact details keyed in.![Screenshot 2023-11-17 at 4.19.37 PM.png](https://raw.githubusercontent.com/PearlynnT/pe/main/files/07eaff0e-3ce7-4f40-960a-bb67826ac908.png)