mmaimer33 / pe

0 stars 0 forks source link

Phone numbers cannot be less than 7 digits long #5

Open mmaimer33 opened 1 year ago

mmaimer33 commented 1 year ago

I understand that the app intentionally only allows phone numbers between 7 and 15 digits, but some international phone numbers can be as small as 4 digits long. I think it the range should be extended, especially considering that it is meant for clients across the world.

soc-pe-bot commented 1 year ago

Team's Response

The minimum and maximum length for phone numbers are based on the international phone numbering plan (ITU-T E.164) which states that the length ranges 7-15. Of course, countries can have many varying lengths of number but a standard format should be adopted and followed. Thus, we have decided to adopt the mentioned plan for international phone numbers. Source

Regarding the phone number being as small as 4, which I believe you are referring to St Helena, is true. However, international phone numbers also include country code which for the case of St Helena is 290. So that makes it a minimum of 7 numbers. Thus, the program does not allow numbers less than 7 digits.

Reassigned to low severity as this is a unlikely to affect normal operations of product.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.High`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]