Open nus-pe-bot opened 3 years ago
This is the intended behavior. The correct task was unmarked, while the duplicates are automatically ignored. This was done to provide users with the best possible experience.
As for why there isn't an error message, we believe it isn't an error in the first place, unlike those with index out of bounds. Putting multiple of the same index and putting just one tells us the same thing: You want to select the item at the index. Since it is a valid index, there is no reason why we need to make it an error.
In fact, putting an error would make things worse as the user may get confused about whether the action was successful or not.
Duplicate of #1281
able to enter duplicate indices with no error message![mark.png](https://raw.githubusercontent.com/nus-cs2113-AY2021S2/pe/main/files/9f294dcf-5cca-4b1d-94ca-e22253cf140f.png)
[original: nus-cs2113-AY2021S2/pe-interim#1280] [original labels: severity.Medium type.FunctionalityBug]