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

404 error on quiz with browsersecurity when time finish or student click "Submit all and finish"

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-73662-403
    • MDL-73662-404
    • Hide
      1. Log in as admin
      2. Create a user
      3. Create a course
      4. Enrol user as student in course
      5. Add quiz activity to course
        • Press Show more under Extra restrictions on attempts
          • Browser security: Full screen pop-up
        • Open Review options
          • De-select every option
      6. Add a question to the quiz
        • True/false type is the easiest to add
      7. Log out
      8. Log in as test user
      9. Navigate to, and attempt, the quiz
      10. When popup opens to attempt quiz, close the initial browser window (leaving only the popup open)
      11. Back in the popup, answer the quiz question
      12. Press Finish attempt
      13. Press Submit all and finish
      14. Press Submit all and finish again (in the confirmation dialog)
      15. Confirm you are redirected back to the main quiz page (mod/quiz/view.php)
      Show
      Log in as admin Create a user Create a course Enrol user as student in course Add quiz activity to course Press Show more under Extra restrictions on attempts Browser security: Full screen pop-up Open Review options De-select every option Add a question to the quiz True/false type is the easiest to add Log out Log in as test user Navigate to, and attempt, the quiz When popup opens to attempt quiz, close the initial browser window (leaving only the popup open) Back in the popup, answer the quiz question Press Finish attempt Press Submit all and finish Press Submit all and finish again (in the confirmation dialog) Confirm you are redirected back to the main quiz page ( mod/quiz/view.php )

      In a quiz configured with "Browser security", students gets a 404 error page when they finish the attemp if they have closed the parent window. Their popup is redirected to this URL:

      https://xxxx.com/moodle/mod/quiz/[object%20Object]

      The quiz must be configured with this option.

      All the review options must be unchecked... like this..

       

       

      Students gets a 404 error page if previously they have closed the parent window.

       

      This screencast shows you the way to reproduce the problem but it doesn't show the review options in order to reproduce the bug.

      https://www.youtube.com/watch?v=ZWJTiHVSd0Y&t=12s

       

      The answers are recorded OK but students complain and asks in order to be sure the exam was received and the online exams are been painful.

      This happen to us in Moodle 3.11.4 but the same has been reproduced in Moodle 3.11.5.

      In Moodle 3.9 (our previous release in online exams) it was working OK and no errors where found on thousands of exams.

      A discussion related to this in forum is https://moodle.org/mod/forum/discuss.php?d=430862&mode=3

       

       

       

       

       

        1. (1) 15 Passed -- (Main)MDL-73662.png
          (1) 15 Passed -- (Main)MDL-73662.png
          76 kB
        2. 2022-01-23_11-04.png
          2022-01-23_11-04.png
          68 kB
        3. 2022-01-24_13-32.png
          2022-01-24_13-32.png
          41 kB
        4. image.png
          image.png
          71 kB

            pholden Paul Holden
            marcoblancas Isaac Marco Blancas
            Pedro Jordao Pedro Jordao
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            20 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 14 minutes
                14m

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