Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nus-pe-bot opened this issue Apr 16, 2022 · 1 comment
Open

Comments

@nus-pe-bot
Copy link

nus-pe-bot commented Apr 16, 2022

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
Copy link
Contributor

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):

--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment