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

Call to close_attempt_popup passes parameters in wrong order.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.4, 2.3.1
    • 2.2, 2.3
    • Quiz
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-34025_master
    • Hide

      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 and the pop-up window then closes after a few seconds.

      Show
      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 and the pop-up window then closes after a few seconds.

      In mod/quiz/accessmanager.php the function back_to_view_page makes a call to close_attempt_popup and passes the message as the first parameter, and the url as the second parameter, when in fact it should be reversed. Function close_attempt_popup is declared in mod/quiz/renderer.php.

            markn Mark Nelson
            markn Mark Nelson
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.