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

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull from Repository:

      Description

      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...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11