jannaleong / pe

0 stars 0 forks source link

Incorrect error message for invalid handphone input #7

Open jannaleong opened 4 months ago

jannaleong commented 4 months ago

Context: already understood that command will block numbers more than 8 digits from testing.

input: create ic/T0123456G hp/6587654321 a/311, Clementi Ave 2, #02-25 dob/1990-01-01 s/F st/PENDING e/janed@example.com bt/A+ n/Jane Doe output : error message saying that the phone number is an invalid format as the number should be at least 8 digits long.

Knowing that the system rejects phone numbers that are more than 8 digits long, the error message should instead say phone numbers must be 8 digits long instead of at least 8 digits long.

This error message is problematic as it confuses the users to think that such an input(> 8 numbers) is allowed.

image.png

soc-pe-bot commented 4 months ago

Your response not required for this bug as the team has accepted the bug as it is.