-
Bug
-
Resolution: Fixed
-
Major
-
3.1.1, 3.2.1, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-55762-master -
-
3.3 sprint 4
Right now, if ghostscript fails to convert a PDF page to an image for the PDF grader, some weird behaviours happen. The first time you do it, you get a popup saying that the conversion couldn't happen. If you view it again, you get all the pages up to the one that couldn't render (if the pdf is 10 pages, and page 3 can't be rendered, then you will see pages 1 and 2, with no indication there should be more)
If the conversion task (\assignfeedback_editpdf\task\convert_submissions) hits one if these, it just globally fails, and can't continue at all.
Note that there isn't a problem when the markups are composited back for the student to download, we are only seeing it when moodle is trying to display the temporary images of the pages for the PDF markup interface.