JohnNub / pe

0 stars 0 forks source link

ArrayIndexOutofBounds unhandled exception on task list #9

Open JohnNub opened 3 years ago

JohnNub commented 3 years ago

Unhandled exception if the task file is in an invalid format due to user mistake or deliberate modification of file.

image.png

nus-pe-bot commented 3 years ago

Team's Response

We are not sure if we should consider the situation that users deliberately modify the data files directly. Because if in that case, the app cannot read the data from these and has to exit to let users check the data files. You are right that we should possibly handle the exception like this.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: https://github.com/nus-cs2113-AY2021S1/forum/issues/117

Refer to above forum link. Modification of file is a valid use case and should be considered.

image.png