Import outcomes error Moodle 2.2

Import outcomes error Moodle 2.2

by Tom Czachor -
Number of replies: 0

I was able to import some of my outcomes into Moodle 2.2, it got almost all of the way done, and I got the following error:

  • line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
  • line 893 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 935 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
  • line 305 of /lib/grade/grade_object.php: call to mysqli_native_moodle_database->insert_record()
  • line 124 of /lib/grade/grade_outcome.php: call to grade_object->insert()
  • line 223 of /grade/edit/outcome/import.php: call to grade_outcome->insert()

Too many outcomes? Any idea what this error is from?