-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.5, 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:
When I try to import questions into the question bank using GIFT format I get error writing to databse and following debugging information:
Debug info:
Stack trace:
line 410 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1029 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1071 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 412 of /question/format.php: call to mysqli_native_moodle_database->insert_record()
line 119 of /question/import.php: call to qformat_default->importprocess()