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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.3, 2.2, 2.3
    • 2.1.4, 2.2.1
    • 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.

    Description

      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.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jan/12