nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Corrupt json transactions lead to loss of data #112

Open nus-pe-bot opened 5 days ago

nus-pe-bot commented 5 days ago

Can be a big issue because all user transaction data will be irretrievably lost if json is corrupted. It might not even be a result of user editing hence corrupt. It might have just been a system caused corruption. Perhaps instead of purging all transactions, can just delete that line instead? So it is not so damaging to the user.

image.png

image.png

image.png

Steps to replicate:

add as many transactions close app edit transactions json to simulate corrupt data reopen app


[original: nus-cs2113-AY2425S1/pe-interim#29] [original labels: type.FeatureFlaw severity.Low]

Gao327 commented 4 days ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #46