Moodle
  1. Moodle
  2. MDL-36347

When time is up, Quiz should not get confirmation to navigate away..

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a quiz with time limit 1 minute.
      2. Start an attempt at the quiz as a student.
      3. Input an answer to one question, but do not click any buttons.
      4. When the countdown timer reaches zero, the attempt should be submitted automatically. (You should not see the "you have unsaved changes in this form" pop-up dialogue.)
      Show
      Create a quiz with time limit 1 minute. Start an attempt at the quiz as a student. Input an answer to one question, but do not click any buttons. When the countdown timer reaches zero, the attempt should be submitted automatically. (You should not see the "you have unsaved changes in this form" pop-up dialogue.)
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I've have read the http://tracker.moodle.org/browse/MDL-30885 and i agree, its a nice thing to have, but i've found a problem with that behaviour.

      When quiz is set to be in a secure window and with a timelimit and When time expires is set to submit answers automatically, then answers are not beeing submitted automatically, instead the student is beeing asked for confirmation to navigate away from page.
      If the student chooses to "Stay on page", then answers are not submitted and student gets extra time to modify answers.
      Also i noticed, that if student stays on page, changes answers and submit the test in 1-2 minutes after the time is up, then answers are still saved luckily, but if student stays on page for more than 2 minutes(keeps the window open for 5-10 minutes) and then submits, then answers are not saved and basically everything is lost also the attempt.

      It seems that this has been integrated from beginning of October and since that we have had many students who used that option and lost their attempts and answers.
      This happens in Moodle 2.3.2+(20121101) with the latest weekly updates.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Tõnis Tartes added a comment -

            I cant replicate the problem in - http://demo.moodle.net/ because it has the 2.3.2 release from September, but i think it can be replicated in any moodle 2.3.2+ weekly release which came in October and probably will popup in 2.3.3.

            Show
            Tõnis Tartes added a comment - I cant replicate the problem in - http://demo.moodle.net/ because it has the 2.3.2 release from September, but i think it can be replicated in any moodle 2.3.2+ weekly release which came in October and probably will popup in 2.3.3.
            Hide
            Tim Hunt added a comment -

            Submitting for integration.

            To INTEGRATORS / testers: remember that this change will need up bump to version.php for the JavaScript change to take effect.

            Show
            Tim Hunt added a comment - Submitting for integration. To INTEGRATORS / testers: remember that this change will need up bump to version.php for the JavaScript change to take effect.
            Hide
            Dan Poltawski added a comment -

            I'm guessing the 2.2 'branch' and fix version was a mistake as this form changer isn't in 2.2, and the github diff returns a 404.

            Show
            Dan Poltawski added a comment - I'm guessing the 2.2 'branch' and fix version was a mistake as this form changer isn't in 2.2, and the github diff returns a 404.
            Hide
            Dan Poltawski added a comment -

            Thanks Tim. I've integrated this now (2.3 and master)

            Show
            Dan Poltawski added a comment - Thanks Tim. I've integrated this now (2.3 and master)
            Hide
            Rajesh Taneja added a comment -

            Works Great,

            Thanks for fixing this Tim.

            Show
            Rajesh Taneja added a comment - Works Great, Thanks for fixing this Tim.
            Hide
            Tim Hunt added a comment -

            Good guess. Sorry Dan & thanks. I was not thinking. That is what you get for trying to fix bugs in departure lounges.

            Show
            Tim Hunt added a comment - Good guess. Sorry Dan & thanks. I was not thinking. That is what you get for trying to fix bugs in departure lounges.
            Hide
            Eloy Lafuente (stronk7) added a comment -

            Amazed. Inspired. Grateful. That’s how your generosity makes me feel.

            (not really)

            Closing, thanks!

            Show
            Eloy Lafuente (stronk7) added a comment - Amazed. Inspired. Grateful. That’s how your generosity makes me feel. (not really) Closing, thanks!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: