Open TheRareFox opened 1 week ago
Thank you for your report! This has been mentioned in planned enhancements, where we aim to standardise error messages and make them more specific.
[The team marked this bug as a duplicate of the following bug]
Not specific Error Message
From this error message, the user would not know what are the requirements for duplication and which field is duplicated. A more concise error message is preferred.
[original: nus-cs2103-AY2425S1/pe-interim#1883] [original labels: type.FeatureFlaw severity.Low]
[This is the team's response to the above 'original' bug]
Thank you for your report! We have mentioned in our Planned Enhancements that we aim to have more targeted error messages.
Additionally, our User Guide mentions what a duplicate entry entails:
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: This is different from the duplicate issue as the duplicate issue is about an error message being not concise, while this issue is about a completely wrong and misleading error message.
This error message is wrong as the index entered is clearly a positive integer, but it is still being rejected.
For deletion error messages, this error message is thrown.
However, when the index is big enough, the error message thrown is different.
There is inconsistency with what the error message displays, especially since the index is still a positive integer, and it is not a invalid command format, hence the error that is thrown is inaccurate.