Open brendanng7 opened 1 week ago
Thanks for submitting this report.
Comments from dev team: Let us explain why it is this way:
phone numbers should generally only contain numbers, it is in the name phone numbers
users can still input the country code without the +
users can use the tag feature to label contacts as "HP" or "Office" if needed
Bug Type that we chose: feature flaw The error screen clearly shows that only numbers are allowed, this is intended behavior, not a bug
Severity that we chose: low This would only affect a small portion of users, and there are plenty of workarounds given above.
Decision that we made: not in scope
According to the course website, this can be classified not in scope. The implementation of tag and link features are more important than this minor issue, and do note that the tag features already solves one part of your bug report. On top of that, the user input is handled gracefully as you can see in the clear error message.
[The team marked this bug as a duplicate of the following bug]
Unable to add characters to phone number in adding person entry
Steps to recreate: 1) add p n/Maaran p/+65 91234567 e/maaran@example.com a/Newgate Prison
It is good that the phone contact entry only has a minimum boundary to check if it's a valid number but in real world cases some users might wish to add characters like "+" for country code or "HP" to indicate handphone to the contact entry. Rather than not accepting any entries with non numeric characters, a warning could be thrown instead to warn users but still allow non numeric characters to contact entry.
[original: nus-cs2103-AY2425S1/pe-interim#2484] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Thanks for submitting this report.
Comments from dev team: Let us explain why it is this way:
- phone numbers should generally only contain numbers, it is in the name phone numbers
- users can still input the country code without the +
- users can use the tag feature to label contacts as "HP" or "Office" if needed
Bug Type that we chose: feature flaw The error screen clearly shows that only numbers are allowed, this is intended behavior, not a bug
Severity that we chose: low This would only affect a small portion of users, and there are plenty of workarounds given above.
Decision that we made: not in scope
According to the course website, this can be classified not in scope. The implementation of tag and link features are more important than this minor issue, and do note that the tag features already solves one part of your bug report. On top of that, the user input is handled gracefully as you can see in the clear error message.
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]
+659999999 should be allowed as a phone number. The app doesn't allow area codes or dialing codes which should be allowed for this application as the user guide does not state it is only for Singaporeans. It could be used internationally. I could have international friends and their phone number must have dialing codes.