Open kwuunnn opened 5 months ago
It is reasonable for us, as developers, to have the understanding that all students, despite the fact that they could be international or exchange student, would hold a Singapore number for the purpose of contacting them locally in Singapore. For instance, if a staff from NUS wants to contact them, it would not be possible to reach them without a Singapore number if these students were to provide their original number. Therefore, our team decision was to cater for Singapore number of 8 digits, with 2 more digits for country code (65) , therefore the allowance of 8-10 digits in the PHONE_NUMBER
field.
[The team marked this bug as a duplicate of the following bug]
Restricting the 8-digit phone number
Step:
- Enter " add id/E7654321 n/Betsy Crowe t/TA e/betsycrowe@example.com p/ 111133334444555" in the command panel.
Expected: Able to save the user information.
Actual: Error message "Phone numbers should only contain numbers, it should be between 3-10 digits long" is thrown to us instead.
Reason: Some phone number consist of more than 8 digits, especially in international contexts. Restricting phone numbers to only 8 digits could prevent users from inputting their complete phone numbers, leading to communication failures or inconvenience
Screenshot:
[original: nus-cs2103-AY2324S2/pe-interim#2227] [original labels: type.FunctionalityBug severity.Low]
[This is the team's response to the above 'original' bug]
It is reasonable for us, as developers, to have the understanding that all students, despite the fact that they could be international or exchange student, would hold a Singapore number for the purpose of contacting them locally in Singapore. For instance, if a staff from NUS wants to contact them, it would not be possible to reach them without a Singapore number if these students were to provide their original number. Therefore, our team decision was to cater for Singapore number of 8 digits, with 2 more digits for country code (65) , therefore the allowance of 8-10 digits in the
PHONE_NUMBER
field.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]
International Phone numbers can be maximum 15 digits, however the app prevents me from adding phone numbers of more than 10 digits