Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.4, 2.3.1, 2.4
-
Component/s: Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
When you try to import a multianswer question using the multianswer format (not gift format, multianswer format) you get :
Fatal error: Call to undefined function qtype_multianswer_extract_question() in xxxxxxxxxx\question\format\multianswer\format.php
This is because the protected function readquestions($lines) { is missing a
question_bank::get_qtype('multianswer');
Apparently this import format is rarely used because nobody has reported that it is broken for months !!