Creationsv2 / pe

0 stars 0 forks source link

Generic error message for dates that do not exist #2

Open Creationsv2 opened 1 year ago

Creationsv2 commented 1 year ago

If a Keydate that should not exist, such as 2001-02-29, a generic error message is provided even though the date fits the format of YYYY-MM-DD.

image.png

I believe rejecting the date is correct as specified by the UG, as it should only accept valid keydates, but the error message does not outline this specific error.

soc-pe-bot commented 1 year ago

Team's Response

We think that the error message is suitable enough as it says that the Keydate is invalid which will prompt the user to look at the keydate argument of the add command and change accordingly.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: The user may not be able to identify which part of the command has an error. Specifically adding that the date has to be valid in the error message would be much clearer.