Open Jweng88 opened 10 months ago
As seen in the screenshot, this is considered extreme user behaviour. It is unrealistic to assume a TA to have courses/students anywhere close to the tested value.
Team chose [response.Rejected
]
Reason for disagreement: Although the tested value is large, it is possible for such input to be entered by user mistake. In the case where the user mistakenly enters an integer value large enough to cause integer overflow, the error message would display "Invalid command format!" which would confuse the user since it is the correct command format but invalid index. From the screenshot below, it states that problems caused by integer overflow should not affect how the features behave, so the error message displayed should remain as "index provided is invalid".
Furthermore, there was no mention of the maximum integer to be accepted in the INDEX
field, therefore, a user accidentally entering a larger index that causes integer overflow is not an incorrect user behaviour and should be handled properly, which in this case is the error message displayed.
Steps:
Perhaps can handle the errors when there is an integer overflow?