Open ngeeyonglim opened 12 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Viewing policies with invalid contact index yields different error messages
Different error message for index 0 and 999 for contact index when viewing policies
[original: nus-cs2103-AY2324S1/pe-interim#2370] [original labels: type.FeatureFlaw severity.VeryLow]
[This is the team's response to the above 'original' bug]
as can be seen in the screen shot policy index has to be a positive integer, 0 is not a valid positive integer, the user guide also explicitly stated the range of values is 1 to 2147483647, hence it will return different error as one is saying that it is a invalid integer and hence return invalid command and another is that it is valid but there is no policy and hence return invalid index
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]
Inconsistent error message for removePolicy command.