-
Bug
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-67215-master -
As reported by moien.abadi in MDLQA-13869, when a teacher attempts to save a rotated annotated PDF assignment submission the following error is displayed:
generalexceptionmessage
Exception - Width or height parameter needs to be larger than zero.
File: .../editpdf/fpdi/FpdiTrait.php
Line: 468
Stack trace:
Error code: generalexceptionmessage
- line 468 of /mod/assign/feedback/editpdf/fpdi/FpdiTrait.php: InvalidArgumentException thrown
- line 130 of /mod/assign/feedback/editpdf/fpdi/Tcpdf/Fpdi.php: call to setasign\Fpdi\Tcpdf\Fpdi->getImportedPageSize()
- line 782 of /mod/assign/feedback/editpdf/classes/pdf.php: call to setasign\Fpdi\Tcpdf\Fpdi->getTemplateSize()
- line 704 of /mod/assign/feedback/editpdf/classes/document_services.php: call to assignfeedback_editpdf\pdf->add_image_page()
- line 271 of /mod/assign/feedback/editpdf/locallib.php: call to assignfeedback_editpdf\document_services::generate_feedback_document()
- line 8315 of /mod/assign/locallib.php: call to assign_feedback_editpdf->save()
- line 8482 of /mod/assign/locallib.php: call to assign->apply_grade_to_user()
- line 1584 of /mod/assign/externallib.php: call to assign->save_grade()
- line ? of unknownfile: call to mod_assign_external::submit_grading_form()
- line 244 of /lib/externallib.php: call to call_user_func_array()
- line 79 of /lib/ajax/service.php: call to external_api::call_external_function()
- is a regression caused by
-
MDL-65774 Upgrade FPDI to v2 API
-
- Closed
-
- Testing discovered
-
MDLQA-13869 CLONE - A teacher can provide assignment feedback by annotating a PDF
-
- Passed
-