nus-cs2103-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Storage files not saving properly #3317

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Details

While testing the application on Linux, I followed the procedure to run the jar file with java -jar .... After much testing, while I was relaunching the application when doing the instructions in the developer guide. I noticed that all my file data that I have tested and edited went missing. This happens even though the data files are still in the same folder (shown in screenshot #1). This can be even a severity.High bug since data information can be lost.

Screenshot

1

image.png

2

image.png

3

image.png


[original: nus-cs2103-AY2122S2/pe-interim#3276] [original labels: type.FunctionalityBug severity.Medium]

charmainehly commented 2 years ago

Team's Response

Firstly, the application was not taken out of the zip folder and placed into a clean working directory, as shown in the first screenshot, which should be done so following the instructions for the PE.

Secondly, from the screenshots and explanation provided by the tester, the tester might have edited the JSON file directly as seen from the third screenshot which might have caused unpredictable behaviours that are not in scope. Furthermore, the application would handle invalid inputs by restarting the app with sample data (as observed from his screenshot) which is considered valid behaviour.

Lastly, the details to reproduce this problem is vague and unclear, as a result there was not enough information on how the tester managed to obtain this behaviour. The team had attempted to reproduce the error, but based on our OS-es, this was not an issue.

Duplicate status (if any):

--