seannzx / pe

0 stars 0 forks source link

Wrong error displayed while trying to add tag to invalid index #8

Open seannzx opened 3 years ago

seannzx commented 3 years ago

Error message could be more descriptive to inform users that the error in the command is caused by an invalid index, and not because of the command format.

tagerror.PNG

soc-se-bot commented 2 years ago

Team's Response

This is an invalid bug report. The correct format of the command is tag -a 2 t/what, and not tag 2 -a t/what, that is why the user is getting this error message. If I key in tag -a 2 t/what where there is no index 2, the error message shown will instead be The patient index provided is invalid or The doctor index provided is invalid.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]