JonathanHoshi / pe

0 stars 0 forks source link

Storage files not saving to correct location in Linux #5

Open JonathanHoshi opened 2 years ago

JonathanHoshi commented 2 years ago

Details

image.png

When testing for the jar file storage in Linux using the quick start instructions, as mentioned in the UG in the image above where the said that the data file is stored together with the jar file. It seems that the data files are not being stored together with the jar file. I also cant seem to find out where my files are located at. This poses an issue for users who also want to transfer their files to another computer (shown in screenshot #2) and this can be even considered for a severity.Medium for these users (editing data in the json file and transferring files).

Screenshot

1

image.png

2

image.png

nus-pe-script commented 2 years ago

Team's Response

This problem happens to some users when they double click the application instead of using the java -jar command on terminal.

Screenshot 2022-04-17 at 10.24.34 PM.png

This step was strongly recommended by the prof before starting the PE. Due to some limitations in the OS security system(which is out of our scope), some of the OS will create a private directory and store the data file there instead, when the user double clicks on it. This is also reported and answered by some of the students and the prof here

On top of that, we saw another screenshot from another report that shows that there is a data file from the linux window under proper use, and we suspect that it is an OS dependent issue.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I feel that even though the PE instructions state that we should use java -jar ... to run the application, double click is still an option that we are able to use. My main reason why I instinctively still double-click after my first java -jar ... command is due to the User Guide giving instructions to double click the jar file (screenshot #1).

When I was testing for the jar file being in the same folder, I moved the jar file to a new folder and double clicked. I did this since my previous test shows that the java -jar ... command works and I followed the UG by double-clicking.

If the teaching team feels that double click is not allowed, I will gladly accept that the rejection. However, since this is an issue that can affect users on Linux when using the application, I feel that this is still a bug.

Screenshot

1

image.png