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

Quiz is not automatically submitted in preview mode when time is up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy)

      1) Create a quiz
      2) Set a timelimit about 20-30 seconds.
      3) Add couple of questions to quiz
      4) Preview the quiz as teacher or admin
      5) Quiz should be submitted automatically when time is up.
      6) Now attempt the quiz as a student. Make sure the quiz automatically submits for them too.

      Show
      (difficulty: easy) 1) Create a quiz 2) Set a timelimit about 20-30 seconds. 3) Add couple of questions to quiz 4) Preview the quiz as teacher or admin 5) Quiz should be submitted automatically when time is up. 6) Now attempt the quiz as a student. Make sure the quiz automatically submits for them too.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      Please cherry-pick.

      Description

      With the latest Moodle update(2.3.4), when teacher is previewing the quiz and quiz has been set to submit automatically open attempts, then it does'nt do that when time is up.
      If you enter with(or as) a student account then it does submit when time is up.
      So probably something is wrong with the quiz preview mode for teacher.

      Steps to reproduce:
      1) Create a quiz
      2) Set a timelimit about 20-30 seconds.
      3) When time expires set Open attempts are submitted automatically.
      4) Add couple of questions to quiz
      5) Preview the quiz as teacher or admin
      6) Quiz should be submitted automatically when time is up.

      I tried to reproduce this at demo.moodle.org but there is still 2.3.2 running. This happens with 2.3.4.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/13