-
Notifications
You must be signed in to change notification settings - Fork 334
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
Report Viewer broken #571
Comments
I will look into it as soon as possible. I took a quick look at the files you attached - the file |
Ah, sorry. Yes, there is an empty file in there, these files are old demo files, and JPlag should be able to handle empty files. I should have mentioned it, though. However, the issue also persists without the empty file (on all combinations of Windows 10 and macOS Monterey with Firefox and Chrome): |
Of course, I will add compatibility with empty files. However, I zipped up the I did all of this on macOS Monterey, with the built-in compression and tested the viewer in Chrome, Firefox and Safari. What program did you use for compression and on what OS did you execute the compression? @tsaglam |
I just tested it with another MacBook, which is never an ARM one. There it works, but only after rezipping the files. The ARM MacBook: (with Firefox 103.0.1 64-Bit) |
Maybe the way to go is to Zip the files directly in Java. Java has Zip Support maybe then the problem will not directly occur. |
@tsaglam I found the issue: I falsely assumed that the submission file name would always have the same index when splitting its path, as this was always the case when I tested the viewer. The submission files in my zip always had the path Consequently, I changed the file name extraction to locate the index of the The report viewer has no problem handling empty files, nevertheless I changed how they are displayed: Instead of showing one empty line, the text "Empty File" is displayed. PR #573 . @dfuchss this might be worth implementing. It could maybe also eliminate the need to check for the __MACOSX folder, like my current solution has to. Of course, this requires Java to not use the OS's built-in zip compression. But thinking about it, the check does not hurt as users could still unzip and zip their report with what and why ever they want to. |
@dfuchss @nestabentum We should totally discuss this feature in the next dev meeting as it goes in line with our updated requirements on local execution vs. deployment of the web viewer. One could even argue that (in our current world view), a zipped result should be the new default. I also already added this to the main report viewer issue #357. |
Closed with #573. |
Unfortunately, the current version of the comparison view of the (deployed) version of the report viewer is broken. This has already been discussed in the last PR #535 and now has independently been found by @tsaglam. An example zip is attached. The error looks similar with something broken in the
store.ts
file:@nestabentum Please try to look at this as soon as possible, as it affects the publicly deployed report viewer.
The text was updated successfully, but these errors were encountered: