-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.5.7
-
MOODLE_35_STABLE
-
MDL-66250-wait-till-combined-is-ready-for-master
-
When using async file converter https://github.com/catalyst/moodle-fileconverter_librelambda#libre-lambda-document-converter we run into issue when generating image for attempt is not fast enough which ends up with no page for readonly area, so this part of code looks not written properly:
// If we are after the readonly pages...
|
if ($readonly) { |
$filearea = self::PAGE_IMAGE_READONLY_FILEAREA;
|
if ($fs->is_area_empty($contextid, $component, $filearea, $itemid)) { |
// We have a problem here, we were supposed to find the files. |
// Attempt to re-generate the pages from the combined images. |
self::generate_page_images_for_attempt($assignment, $userid, $attemptnumber);
|
self::copy_pages_to_readonly_area($assignment, $grade);
|
}
|
}
|
image is still being generating but code already tries to copy it to readonly area
- is a regression caused by
-
MDL-56810 Error converting submissions for annotation when student is unenrolled from course
- Closed
-
MDL-60014 Error converting submissions for annotation when student is unenrolled from course (recurrence)
- Closed
-
MDL-55528 File conversion API should be a plugin interface
- Closed
- is blocked by
-
MDL-63718 Document conversion task should fail if any document could not be converted
- Closed