nus-cs2113-AY2223S2 / pe-dev-response

0 stars 0 forks source link

Corrupted txtfile not handled as claimed #2008

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

after the program crashes from the check command, program said "TxtFile has been corrupted, the corrupted entry has been deleted" upon restarting. However, using the command "list SGD" still list out all my expenditures and none of it has been deleted.


[original: nus-cs2113-AY2223S2/pe-interim#2749] [original labels: type.FunctionalityBug severity.High]

TzeLoong commented 1 year ago

Team's Response

The bug cannot be reproduced as shown in the image below:

image.png

After the program crashes, the app is relaunched and the list remains the same without txtfile corruption. The error message being printed on your terminal is likely due to the fact that you have edited one of the entries in the txtfile before crashing the program with check y/YEAR.

Thus, due to the fact that it is not reproducible, and that the error is caused by a intentional corruption before crashing, we do not consider it a bug. Nonetheless, we highly appreciate the time taken to review it!

Duplicate status (if any):

--