-
Notifications
You must be signed in to change notification settings - Fork 2
Results View not working on Ilias8 Php7.4 #34
Description
Commit b045797 which fixed #33 introduced a new problem for ILIAS8 servers still running on php7.4.
When an assPaintQuestion has a background picture enabled, the results of the test cannot be displayed by the course admin. Performing the test itself works fine, everything gets saved correctly, but both the detailed results view and the manual correction view return a standard error when one tries to access them ("Sorry, an error occurred. A logfile has been created which can be identified via the code ..."). There is no way for the course admin to access the results (unless the ILIAS admins dig out the png files manually).
Reverting to the an older version (such as commit 6bfe21b) fixes this problem. The problem described in #33 that the commit tried to fix, on the other hand, doesn't appear to show up on servers still using php7.4.
So it appears that the older version of assPaintQuestion might have a non-functioning results view with php8, the newer one with php7. One easy way to fix / workaround this issue would be to just create a separate branch for ilias8 php7 that doesn't include commit b045797.