Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45378

PDF Annotations Are Not Deleted Upon Cancel and Needs Grading Count is Reduced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 2.6.2, 2.8.8, 2.9.2, 3.0
    • Assignment
    • MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE

      When a teacher annotates a PDF assignment submission but clicks Cancel instead of saving changes, the annotated PDF is not deleted. The student can't see the annotated PDF but when the teacher reloads it, the annotations are still there. It seems reasonable to expect that clicking Cancel would delete the unsaved changes. Additionally, even though the changes were canceled, the count of submissions that need grading is decreased as if the submission was graded when in fact the grading was canceled.

      Steps to reproduce:

      1. Create an assignment that allows file submissions.
      2. As a student, upload a PDF submission.
      3. As a teacher, access the assignment module grader.
      4. Note that the assignment page states "Submitted: 1. Needs Grading: 1."
      5. Open the submission and launch the PDF editor.
      6. Annotate the PDF.
      7. Close the PDF editor.
      8. Click Cancel on the submission grading page.
      9. Note that the assignment page states "Submitted: 1. Needs Grading: 0" even though you canceled the grading.
      10. Open the submission and launch the PDF editor again.
      11. Note that the previous annotations are still there.

      Expected: Clicking Cancel would delete the previous annotations and the submission would still be considered to need grading.

      Actual: The previous annotations are not deleted and the submission is no longer considered to need grading.

            Unassigned Unassigned
            cfollin Chris Follin
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.