Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] File structure discrepancy #1610

Closed
eslamHegazy opened this issue Feb 24, 2024 · 1 comment
Closed

[bug] File structure discrepancy #1610

eslamHegazy opened this issue Feb 24, 2024 · 1 comment
Labels
bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change

Comments

@eslamHegazy
Copy link

I am using Jplag 5 (jar release) through the api and the online report-viewer https://jplag.github.io/JPlag/

A simple example for the problem
Root directory A
A/sub1.java
A/sub2.java

Old submissions directory B
B/o1.java
B/o2.java

When viewing the report on the online report-viewer and trying to open any comparison, I face a failure. After inspecting the problem for a few hours: I found out that
Inside the zip file, my submissions are in paths:
files/A_sub1.java/sub1.java
files/A_sub2.java/sub2.java
files/B_o1.java/o1.java
files/B_o2.java/o2.java
While the comparisons json files and submissionFileIndex.json assumes they are in paths:
files/A_sub1.java/A_sub1.java
files/A_sub2.java/A_sub2.java
files/B_o1.java/B_o1.java
files/B_o2.java/B_o2.java

@eslamHegazy eslamHegazy changed the title File structure discrepancy [big] File structure discrepancy Feb 24, 2024
@eslamHegazy eslamHegazy changed the title [big] File structure discrepancy [bug] File structure discrepancy Feb 24, 2024
@tsaglam tsaglam added bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change labels Feb 26, 2024
@tsaglam
Copy link
Member

tsaglam commented Mar 13, 2024

Fixed by #1645. It will be part of the next minor release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change
Projects
None yet
Development

No branches or pull requests

2 participants