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

timed quiz generates bad 2nd attempt

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.9.1, 1.9.2, 1.9.3, 1.9.4, 2.1
    • None
    • Quiz
    • Linux, MSQL 4.1.22, PHP 5.2.5
    • MySQL
    • MOODLE_19_STABLE, MOODLE_21_STABLE

    Description

      Occurs in a timed quiz with 3 attempts allowed per student.

      Student complete a quiz and submits it. If this occurs at the time limit the grade for the first quiz is recorded, a second quiz is generated and a second attempt on the new quiz is logged. The second attempt is reported to have taken 0 seconds to complete, and is reported in the quiz attempts as still open.

      If the second attempt contains all new questions randomly drawn from the question pool, the grade for this 2nd attempt is 0 (none of the questions have user supplied answers). If the second attempt utilizes some questions from the previous attempt, and they were correctly answered, these answers are carried over to the new quiz (second attempt) and the grade reflects this. New questions (not used in the first attempt) have no user supplied answers and are graded as 0.

      The problem only seems to occur when an attempt is submitted at the time limit. I have been unable to reproduce this error in my role as student, but it has occurred about 6 times over the past two weeks, with a number of different students.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              pauljk Paul Kores
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: