-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.1
-
None
-
MOODLE_21_STABLE
-
qa.moodle.net
-
When creating a random short answer question in Moodle 2.1, I seem to always get the following error page:
Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'
line 5910 of /lib/moodlelib.php: call to debugging()
line 6500 of /lib/moodlelib.php: call to core_string_manager->get_string()
line 44 of /question/type/randomsamatch/edit_randomsamatch_form.php: call to get_string()
line 165 of /question/type/edit_question_form.php: call to qtype_randomsamatch_edit_form->definition_inner()
line 152 of /lib/formslib.php: call to question_edit_form->definition()
line 80 of /question/type/edit_question_form.php: call to moodleform->moodleform()
line 231 of /question/type/questiontypebase.php: call to question_edit_form->__construct()
line 197 of /question/question.php: call to question_type->create_editing_form()
Skip to main content
It does create a question, but when I try to preview it I get the following error:
Coding error detected, it must be fixed by a programmer: Unknown question type (no definition) randomsamatch
More information about this error
Stack trace:
line 234 of /question/engine/bank.php: coding_exception thrown
line 671 of /question/type/questiontypebase.php: call to question_bank::load_question_definition_classes()
line 658 of /question/type/questiontypebase.php: call to question_type->make_question_instance()
line 275 of /question/engine/bank.php: call to question_type->make_question()
line 265 of /question/engine/bank.php: call to question_bank::make_question()
line 39 of /question/preview.php: call to question_bank::load_question()
(this was a reason I failed QA test MDLQA-1032)
- duplicates
-
MDL-27414 Upgrade the randomsamatch question type to the new question engine
-
- Closed
-