Open tanjiajiajun opened 2 months ago
This is the same "out of bound" index error but with the delete
command instead of the addCategory
command.
[The team marked this bug as a duplicate of the following bug]
Misleading Error Message for addCategory
To reproduce: Run
addCategory 2147483647 c/Clan d/rainbow
The command format is valid according to the prompts, but the error message says it is invalid, which may mislead users who might not know how to resolve it.
To Resolve: Change error messages to index out of bounds for this case
[original: nus-cs2103-AY2324S2/pe-interim#895] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
This counts as deliberate sabotage as it is caused by extreme user behavior such as not accounting for integer overflows, especially since the app fails gracefully and shows an error message. As such, in accordance to the CS2103T website guidelines, this will not be considered a bug.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
These 2 should be the same error message, and the second command is indeed a positive integer. May affect if number of users is large