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

Quiz with Browser Security enabled don't shows results (Moodle 2.1)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.2
    • 2.1, 2.2
    • Quiz
    • MySQL
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Hide

      Just taking Matt's comment and adding it as a workaround with some minor tweaks: With browser security (i.e. mdl_quiz table's popup field) set to true, students cannot review the quiz or make multiple attempts. By going to the quiz settings, the teacher can switch Browser security to "none" and then students are able to review the quiz and make multiple attempts. If a site admin wanted to change this for all quizzes, they could set the popup field to 0 for all quizzes. Peace - Anthony

      Show
      Just taking Matt's comment and adding it as a workaround with some minor tweaks: With browser security (i.e. mdl_quiz table's popup field) set to true, students cannot review the quiz or make multiple attempts. By going to the quiz settings, the teacher can switch Browser security to "none" and then students are able to review the quiz and make multiple attempts. If a site admin wanted to change this for all quizzes, they could set the popup field to 0 for all quizzes. Peace - Anthony
    • Hide

      1. Create a quiz with default settings.
      2. Make sure you can preview it as a teacher.
      3. Make sure that you can attempt and review it as a student.
      4. Make sure that the teacher can review the students' attempt.

      5 - 8. Ditto, but for a quiz with Browser security set to Full screen pop-up with some JavaScript security

      Show
      1. Create a quiz with default settings. 2. Make sure you can preview it as a teacher. 3. Make sure that you can attempt and review it as a student. 4. Make sure that the teacher can review the students' attempt. 5 - 8. Ditto, but for a quiz with Browser security set to Full screen pop-up with some JavaScript security

    Description

      If a quiz has the "Browser security" option in "Full screen pop-up with some JavaScript security", after completing a quiz, instead of showing the results, it shows this error:

      Coding error detected, it must be fixed by a programmer: block_manager has already prepared the blocks in region side-prefor output. It is too late to add fake block.

      If you hit continue, it scores the quiz correctly in the gradebook, but the results are never shown on screen.

      When the debugging option in enabled, it shows this error:

      line 425 of /lib/blocklib.php: coding_exception thrown

      line 257 of /mod/quiz/review.php call to block_manager->add_fake_block()

      Attachments

        Activity

          People

            timhunt Tim Hunt
            brigittebaquero Brigitte Baquero
            Mike Churchward Mike Churchward
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            32 Vote for this issue
            Watchers:
            21 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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