erisjacey / pe

0 stars 0 forks source link

Cannot find json save file #6

Open erisjacey opened 4 years ago

erisjacey commented 4 years ago

The UG says that I'm supposed to find the save data in the folder where I first installed the jar file. I downloaded the zip file using another PC and transferred it to the device I am currently using for this PE and thus I didn't locally download the jar file. So I'm not sure where to start looking for the json file. I tried searching in 3 folders where this file could be:

Downloads Folder containing the jar file

image.png

And the file containing the relevant zipped files

image.png

I could not find the json file in any of these folders.

nus-se-bot commented 3 years ago

Team's Response

Hi,

You will have to make at least one change to the application before the save file is created. This is an issue with the UG.

Bug accepted. Severity reduced to low for lack of clarity.

Regards, Vignesh

Items for the Tester to Verify

:question: Issue type

Team chose [type.DocumentationBug] Originally [type.FunctionalityBug]

Reason for disagreement: I would argue that this is a functionality bug.

From the CS2103T website:

image.png


:question: Issue severity

Team chose [severity.Low] Originally [severity.High]

Reason for disagreement: I would argue that this is a severity.High bug still.

Upon further inspection I found that this discrepancy is actually due to the jar file being run using java -jar .... This was done as per the PE instructions:

image.png

I found out that if you rune the jar file this way, the json file is actually being stored in my home folder (for Windows that would be C:/Users/Eris).

image.png

I think this is quite an egregious bug because I needed to spend time and effort as a user to find out where this save file is being stored.

In summary:

  1. Save file directory depends on how the jar file was run:
    1. Double-click: works as expected according to UG/DG
    2. java -jar ...: saved in home folder, and the UG/DG does not account for this discrepancy
  2. This discrepancy in 1.ii might cause a huge inconvenience to the user if they want access to the save file but are unable to find it easily.