-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.3, 2.8.1
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
During Moodle XML questions import all third party question types should just be ignored as lesson doesn't support any of them.
Currently a fatal error is thrown:
Fatal error: Call to undefined method qformat_xml::try_importing_using_qtypes() in C:\wamp\www\moodle_head\question\format\xml\format.php on line 977
To solve the problem it should be enough to just add a try_importing_using_qtypes function to the qformat_default class in mod/lesson/format.php that return false