sarjinius / pe

0 stars 0 forks source link

No error given for empty inputs for optional fields #3

Open sarjinius opened 2 months ago

sarjinius commented 2 months ago

Image 4-19-24 at 4.32 PM.jpg Instead of giving error for empty phone number, it gives me an error for name having '-'.

nus-se-bot commented 2 months ago

Team's Response

Rejected - Consider if a user tried to add a name with -p, this is not allowed so the behavior and error message is as intended

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: The user might think that the name "Boban" is okay since it is only made of alphanumerics and spaces. The error message does not properly pinpoint the cause of the error, which is the empty phone number.