nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Data corruption #2087

Open nus-pe-bot opened 4 months ago

nus-pe-bot commented 4 months ago

Insert some valid calorie entries.

While the application is running, delete the data directory to simulate data corruption.

Do calories list to verify that the data entries are preserved.

Quit and relaunch the application. The data is lost.

User is not informed of the data loss


[original: nus-cs2113-AY2324S2/pe-interim#1855] [original labels: severity.Low type.FunctionalityBug]

paturikarthik commented 4 months ago

Team's Response

Hi there, thank you for your bug report!

As mentioned in our UG, the text file is only updated when the following functions are invoked (see attached).

image.png

As such, users should exercise caution and only make changes to the file accordingly. Moreover, it is not necessary to inform the user that the data file has been deleted, when the user themselves have deleted the file.

Hence, we have rejected this as a bug.

Thanks.

Duplicate status (if any):

--