nus-cs2113-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Inconsistent data when data files are tampered with #707

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

When I deleted the dish.dat data file and started the app, the list of dishes reset and I am able to enter dishes with the same name as before but with a different price.

However, the order list that was saved previously does not get updated accordingly.

image.png

Hence, an inconsistency in the order data (where case in the dish name may be ignored, as stated in the UG).


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

darylhjd commented 2 years ago

Team's Response

User should not tamper with data files and expect application to work.

Any tampering is out of warranty of product, and any resulting behaviour caused by it is undocumented and unsupported. User should know what they are doing when tampering with data files.

Duplicate status (if any):

--