Lin-Shuang-Shuang / pe

0 stars 0 forks source link

Inaccurate error message for mark #6

Open Lin-Shuang-Shuang opened 2 months ago

Lin-Shuang-Shuang commented 2 months ago

image.png

The error message said 'Valid task indexes are from 1 to the number of tasks' but that is not correct as there should not be any valid task index for that uid because no tasks were added

nus-pe-script commented 2 months ago

Team's Response

This error message is correct saying that the task index provided is invalid. There are no tasks, so the task index is invalid. The error message is specifying for when there are tasks, valid task indexes are from 1 to the number of tasks.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: The error message could have been more specific, by including "Please make sure employee task list is not empty". Or another error message should have been shown that says "Employee does not have tasks to be marked"