Open chownces opened 3 years ago
No details provided by team.
Team chose [response.CannotReproduce
]
Reason for disagreement: Perhaps I was not explicit enough. This bug is in fact reproducible. The bug is that the filepath is not relative to the location of the .jar
file, but rather relative to the directory where the java -jar
command is being run. Thus, this is a functionality bug as the description does not match the actual behaviour of the application, and the implementation needs to be updated.
As per the screenshot example in the original bug report:
Directory structure:
| Downloads
| pe
| xxx.jar
| yyy.csv
java -jar
command is being run from the Downloads
directory. (e.g. java -jar pe/xxx.jar
)import ./yyy.csv
in the app. This will show the error as per the screenshot in the original bug report.import ./pe/yyy.csv
works, thus revealing this implementation error (that filepath is not actually relative to the .jar file).This is an occasional inconvenience to some users who encounter the exact situation above, but they are still able to use the app (albeit without the import
feature if they do not know how to work around this bug). Thus I would like to consider this a MEDIUM
bug.
According to the UG, the CSV file can be specified relative to the
.jar
application. However, the following command does not work as expected.data.csv
file is in the same folder as the.jar
fileimport ./data.csv
does not workUG:
Screenshot of error:
To reproduce:
./{filename}.csv