shyamgj1900 / pe

0 stars 0 forks source link

Incorrect input format error #3

Open shyamgj1900 opened 2 years ago

shyamgj1900 commented 2 years ago

New trip is not allowed to be created when user uses "FROM" instead of "from" Screenshot 2021-11-12 at 4.25.14 PM.png

nus-se-script commented 2 years ago

Team's Response

We write in the user guide that the format of commands should be strictly follow so the capital of "from" is not accepted by the system

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: As quoted in the PE guidelines for overzealous input validation "It is better to warn rather than to block when inputs are not compliant with the expected format unless accepting such inputs can hinder the operations of the software. Allowing such flexibility can allow the user to use the software in ways you didn't even anticipate while overzealous rejection of inputs can annoy the user."

Thus allowing the user to use lowercase "from" is a type of overzealous input validation as it is not going to break the system or need a large overhaul.