nus-cs2113-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Unhandled exception thrown when user change the data file manually #1318

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Screen Shot 2022-04-16 at 5.09.49 PM.png

Screen Shot 2022-04-16 at 5.10.23 PM.png The app simply cannot restart and DOS.


[original: nus-cs2113-AY2122S2/pe-interim#1317] [original labels: type.FunctionalityBug severity.High]

suenalaba commented 2 years ago

Team's Response

It doesn't make reasonable sense for anyone to tamper with the data directly from a file, furthermore, the whole purpose of this CLI is to enable users to delete/add what they deem through the CLI. If they can tamper the database, then it really just defeats the whole purpose of the CLI. Throughout this project, it is assumed that the user cannot tamper with the database. In a real work environment, databases are encrypted and you would need certain password etcs to actually edit manually from the database, so this is just unrealistic.

Duplicate status (if any):

--