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

Popup not closed after a student finishes attempt in a quiz

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. Create a quiz with the following settings: 'Browser security' set to 'Popup and javascript ...'

      2. 'How questions behave' set to 'Deferred feedback'.

      3. ... and 'Review options', 'Immediately after the attempt', all options in that column disabled.

      4. Then add some questions to the quiz, and attempt it as a student.

      5. When you get to the end of the quiz, the pop-up window should close automatically.

      (Note to testers, it now seems that Chrome and Firefox pop-up blockers are getting more and more aggressive, which means that what Moodle (some crazy control-freak teachers who use Moodle) whan to do is getting harder and harder to keep working. I suggest you test this on a browser like IE, where full-screen pop-ups still work.)

      Show
      1. Create a quiz with the following settings: 'Browser security' set to 'Popup and javascript ...' 2. 'How questions behave' set to 'Deferred feedback'. 3. ... and 'Review options', 'Immediately after the attempt', all options in that column disabled. 4. Then add some questions to the quiz, and attempt it as a student. 5. When you get to the end of the quiz, the pop-up window should close automatically. (Note to testers, it now seems that Chrome and Firefox pop-up blockers are getting more and more aggressive, which means that what Moodle (some crazy control-freak teachers who use Moodle) whan to do is getting harder and harder to keep working. I suggest you test this on a browser like IE, where full-screen pop-ups still work.)
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. Create a quiz that allows multiple attempts, and set to Browser security: 'Popup ...', and no review allowed immediately after the attempt.
      2. Add a question to the quiz
      3. Create a student account and access the quiz.
      4. Finish an attempt
      5. Ensure a valid message is displayed.
      Actual:-
      The popup is not closed
      Expected:-
      6. pop-up window then closes after a few seconds.

      I tested this with chromium on ubuntu.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/12