Open YaleChen299 opened 3 years ago
Same issue of not checking the uuid in the json file before loading.
[The team marked this bug as a duplicate of the following bug]
Manual editing of jsons causing restart exception instead of purging data
As mentioned in the UG, invalid edits will cause the app to discard all data and start with an empty data file, but when I try to edit the data file in the above mentioned way, this claimed behavior did not happen. Instead, the app fails to open at all.
This disagreement may cause user to be confused about what happened, especially if they open through double click.
However, I will rate this Medium as the app remain useful beside this, but it is still quite serious in my opinion as when user reach this point either by manually editing data or contamination of the json by some error in saving, the user will not know how to recover from this.
[original: nus-cs2103-AY2122S1/pe-interim#4684] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Valid bug. We should have performed more checks in the json file.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your reason]
I accidentally change the uuid of the link-contacts
Then upon reload, the app look like this
The data are already inconsistent, as the app shows contacts like
Alex Yeoh
withBasketball training
, however, the events are already deleted.Further interaction with the app even causes UI glitches like below. The App is unable to show any correct information, nor can it display the existing data correctly.
This bug is serious as the experience is catastrophic for users if it happens, and it can cause potential lost of data. There is lack of gracefully handling of data in the Storage. And this can happen if user just follow the user guide to edit the data file or due to some contamination of data files during saving or transferring. However, I think this is Medium as normally user may not edit the file in such a way.