Open nixonwidjaja opened 10 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Phone Numbers shouldn't be restricted to Eight Digits
Phone numbers, as specified in the UG, can only be eight digits. Any attempt to add a phone number not consisting of eight digits, for instance:
customer add --name Name --phone 123456789 --email abc@def --address address
...is met with the error message:
Phone numbers should only contain numbers, and it should be 8 digits long.
However, phone numbers may not be eight digits long, especially overseas. Hence, is this overzealous input validation? Perhaps a warning could be displayed instead of blocking the input entirely.
[original: nus-cs2103-AY2324S1/pe-interim#758] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
This bug report would be accepted, however, it would be a documentation bug instead as the UG was not specific enough in stating that the rationale for eight digits is because we only want Singapore phone numbers as we are catering only for Singapore customers with Singapore phone number.
Furthermore, our examples all state Singapore addresses and Singapore phone numbers, thus, we always had it in mind that we the customers are from Singapore but did not state it down explicitly.
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]