-
Bug
-
Resolution: Fixed
-
Major
-
3.4.5, 3.5.2, 3.6
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-63456-master -
If you have a mistake in an Aiken file, it can create a multi-choice question that is corrupt, having no record in qtype_multichoice_options, has no answers, and that you can't delete or edit. It can be added to a quiz via a random question, which will then break the quiz.
An example bit of Aiken looks like this:
Which LMS has the most quiz import formats?
A) Moodle
B)ATutor
ANSWER: A
Which will create a question with the title B)ATuror which is corrupt as talked about above. Now the importer does report an error This type of question requires at least 2 choices, but obviously the partial question is still saved.