nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Tampering with the data file reflects fully in program instead of error handling #226

Open nus-pe-bot opened 5 months ago

nus-pe-bot commented 5 months ago

Actual behaviour: After tampering with the data file that stores the bouquet names, the new data that I've added reflects fully in the program Expected behavior: Any error handling of choice should be used in the case of txt file tampering

Also, no practise of using separators were used in the data file, which can cause problems for data parsing

image.png

As seen below, the newline added does not have the bouquet: text

image.png

line added:new wgomwrpgmwgmr424%$@T#T#$T%#T#


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

IanFH commented 5 months ago

Team's Response

Unclear as to what the issue is as florizzBouquets.txt stores all bouquets created during run time so that they are not lost in between uses of Florizz. The behaviour shown above is intended. Furthermore we did advise users in our userguide to not tamper with the florizzBouquets.txt file image.png

Duplicate status (if any):

--