-
Sub-task
-
Resolution: Fixed
-
Minor
-
1.9
-
None
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE
With the current version of webctimport, questions imported using the script are not usable in Moodle. Even though they are added to the database, they don't appear in the imported course. This is because the current version of the script doesn't create a 'contextid' value for the question_category item.
The proposed patch creates a default context and assigns it via the contextid field to the question categories.