Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1, 2.2
-
Fix Version/s: 2.1.2
-
Component/s: Quiz
-
Labels:
-
Database:MySQL
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
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()