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

After a quiz regrade in Moodle 2.0, essay questions are left in the wrong state

XMLWordPrintable

    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Hide

      1) create a quiz with essay question
      2) attempt quiz as student or with student account, save and submit answers, close attempt
      3) manual grading report shows question needs marking
      4) run regrade all, overview no longer shows 'requires grading' on questions
      5) manual grading report says nothing to display

      Show
      1) create a quiz with essay question 2) attempt quiz as student or with student account, save and submit answers, close attempt 3) manual grading report shows question needs marking 4) run regrade all, overview no longer shows 'requires grading' on questions 5) manual grading report says nothing to display

      We had reports that graders were not able to see question attempts in the manual grading report.

      Investigation shows that this happens after closed essay attempts have a quiz regrade performed on them, they are left in the SUBMIT state rather than the CLOSED state as they previously were. This means they do not display in the manual grading or overview reports as requiring grading.

      To reproduce:
      1) create a quiz with essay question
      2) attempt quiz as student or with student account, save and submit answers, close attempt
      3) grader report shows question needs marking
      4) run regrade all, overview no longer shows 'requires grading' on questions
      5) manual grading report says nothing to display

      My patch for this is to set the question state to closed in the essay question grading function, and tests show this seems to result in the correct behavior.

      github link incoming shortly...

        1. moodle212_loginas.patch
          3 kB
          Gilles-Philippe Leblanc

            timhunt Tim Hunt
            tlevi Tony Levi
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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