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

Overall quiz grade shown as "Not yet graded" for users with mod/quiz:preview

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.4, 2.2.1
    • 2.1.3, 2.2, 2.3
    • Quiz
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      1. Create a quiz.
      2. As teacher, start a preview.
      3. Navigate back to the quiz info page. Verify that no overall grade is shown.
      4. Finish the preview attempt.
      5. Navigate back to the quiz info page. Verify that the grade for the finished preview is also shown as the overview grade.
      6. Log in as student.
      7. Start a quiz attempt.
      8. Navigate back to the quiz info page. Verify that no overall grade is shown yet.
      9. Finish the attempt.
      10. Navigate back to the quiz info page. Verify that the correct overall grade is shown.
      11. Start a second attempt.
      12. Navigate back to the quiz info page. Verify overall grade has not changed yet.
      13. Finish the second attempt. Verify that the correct overall grade is shown.

      Show
      1. Create a quiz. 2. As teacher, start a preview. 3. Navigate back to the quiz info page. Verify that no overall grade is shown. 4. Finish the preview attempt. 5. Navigate back to the quiz info page. Verify that the grade for the finished preview is also shown as the overview grade. 6. Log in as student. 7. Start a quiz attempt. 8. Navigate back to the quiz info page. Verify that no overall grade is shown yet. 9. Finish the attempt. 10. Navigate back to the quiz info page. Verify that the correct overall grade is shown. 11. Start a second attempt. 12. Navigate back to the quiz info page. Verify overall grade has not changed yet. 13. Finish the second attempt. Verify that the correct overall grade is shown.

      On the quiz view.php page, it lists all your attempts, then summarises your overall grade on a line like

      Highest grade: 9.00 / 10.00.

      This information comes from the quiz_grades table.

      However, for users with mod/quiz:preview capability, there is not data there, and so "Not yet graded" is displayed instead.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            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.