Open
Description
Testing Moodle 4.6 for https://tracker.moodle.org/browse/MDLQA-19535
The following failures occur with this plugin that do not occur with 4.5
-->qtype_coderunner
Default exception handler: error/Invalid contextlevel for target category, must be CONTEXT_MODULE Debug:
Error code: Invalid contextlevel for target category, must be CONTEXT_MODULE
$a contents:
* line 146 of /question/format.php: core\exception\moodle_exception thrown
* line 182 of /question/type/coderunner/db/upgradelib.php: call to qformat_default->setCategory()
* line 166 of /question/type/coderunner/db/upgradelib.php: call to load_questions()
* line 50 of /question/type/coderunner/db/upgradelib.php: call to load_new_prototypes()
* line 437 of /question/type/coderunner/db/upgrade.php: call to update_question_types()
* line 7[57](https://github.com/ucl-isd/moodle-mysql-restore/actions/runs/12131616522/job/33824116798#step:8:58) of /lib/upgradelib.php: call to xmldb_qtype_coderunner_upgrade()
* line 1936 of /lib/upgradelib.php: call to upgrade_plugins()
* line 274 of /admin/cli/upgrade.php: call to upgrade_noncore()
!!! error/Invalid contextlevel for target category, must be CONTEXT_MODULE !!!
!!
Error code: Invalid contextlevel for target category, must be CONTEXT_MODULE
$a contents: !!
!! Stack trace: * line 146 of /question/format.php: core\exception\moodle_exception thrown
* line 182 of /question/type/coderunner/db/upgradelib.php: call to qformat_default->setCategory()
* line 166 of /question/type/coderunner/db/upgradelib.php: call to load_questions()
* line 50 of /question/type/coderunner/db/upgradelib.php: call to load_new_prototypes()
* line 437 of /question/type/coderunner/db/upgrade.php: call to update_question_types()
* line 757 of /lib/upgradelib.php: call to xmldb_qtype_coderunner_upgrade()
* line 1936 of /lib/upgradelib.php: call to upgrade_plugins()
* line 274 of /admin/cli/upgrade.php: call to upgrade_noncore()
Metadata
Metadata
Assignees
Labels
No labels