Open nus-pe-bot opened 1 year ago
How to reproduce test: Duplicate a data entry manually in the fitbook.json file.
Expected outcome: Upon app launch, app informs that there is a duplicate entry, and deletes the duplicate entry.
Actual outcome: Upon app launch, all data is wiped from the data file.
[original: nus-cs2103-AY2223S2/pe-interim#3813] [original labels: type.FunctionalityBug severity.Medium]
As stated in our UG, any manual changes that is invalid to our program will cause it to create a new fresh set of data.
FitBook does not allow duplicate names hence this is an error.
--
How to reproduce test: Duplicate a data entry manually in the fitbook.json file.
Expected outcome: Upon app launch, app informs that there is a duplicate entry, and deletes the duplicate entry.
Actual outcome: Upon app launch, all data is wiped from the data file.
[original: nus-cs2103-AY2223S2/pe-interim#3813] [original labels: type.FunctionalityBug severity.Medium]