Open RuiXiong2211 opened 3 years ago
No response provided.
[The team marked this bug as a duplicate of the following bug]
Error thrown doesn't match with the input.
Try to "edit 14321111333 n/Samihah". Error thrown says invalid format. 14321111333 is a positive integer.
[original: nus-cs2103-AY2021S2/pe-interim#584] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
The input provided by the tester might be a positive integer, but it is not in the displayed student list, which is clearly stated in both the UG and the error message
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]
Team chose [response.Rejected
]
Reason for disagreement: The error message shown is different? when the positive integer input is below MAX_INTEGER and above MAX_INTEGER according to java constraints. You should catch integers above MAX_INTEGER as well but your error catching currently does not.
The error message provided should be "The index requested does not exist"
input a number larger than MAX_INTEGER as the index
vs