Open Lin-Shuang-Shuang opened 2 months ago
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.
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"
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