nus-tic4002-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Corrupted json data will not display any contacts #214

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Edited:

image.png

For the above contact in the addressbook.json file, I have edited the Date Joined to be "a/b/c". This would be an invalid date.

Afterwards, I re-opened the application again. On the application display, none of the other contacts are displayed

image.png

Afterwards, if the user exits with the exit command (which could be a natural thing to do for the user after facing that scenario), the data in the addressbook.json would be gone (since empty contacts were overwritten over the file)

image.png


[original: nus-tic4002-AY2122s2/pe-interim#236] [original labels: type.FunctionalityBug severity.High]

gweeyc commented 2 years ago

Team's Response

This behaviour is an officially stated feature implemented in the original AB3 addressbook.

Duplicate status (if any):

--