Open dextboy opened 2 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Editing the storage data manually causes the app to crash on load
"A" was put at the end of the salary entry instead of "I"
This caused the program to crash on startup.
[original: nus-cs2113-AY2324S2/pe-interim#391] [original labels: type.FunctionalityBug severity.High]
[This is the team's response to the above 'original' bug]
Although I think that there should be proper exception handling for incorrect file inputs, I believe this bug is a case of extreme user input. The user should not be changing anything in the file directly. If the user wishes to use the same file, it has been recommended in the user guide to copy the full file instead of just the text. Hence, in no situation should the contents be manually changed by the user. Furthermore, the save function of the app would not produce such cases. Therefore, I will reject this bug.
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: While both leads the program to crash on load, my issue contains the exception thrown that is not caught by the app, which is of greater severity.
Steps to reproduce: Enter data into app enter quit add '0' to time (check line 2 below)
Do consider fixing this, graceful exception handling should occur whenever there is an issue with storage such as wiping the file.