Editing imported assignment gets Error: mdb->get_record() found more than one record!

Editing imported assignment gets Error: mdb->get_record() found more than one record!

by Martin Sourada -
Number of replies: 0

Hello,

when I import assignment (from differente course) and subsequently edit it I get this error:

Error: mdb->get_record() found more than one record!

  • line 1570 of /lib/dml/moodle_database.php: call to debugging()
  • line 1631 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 1612 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
  • line 1196 of /mod/assign/locallib.php: call to moodle_database->get_field_select()
  • line 1310 of /mod/assign/locallib.php: call to assign->update_calendar()
  • line 237 of /mod/assign/lib.php: call to assign->update_instance()
  • line 574 of /course/modlib.php: call to assign_update_instance()
  • line 152 of /course/modedit.php: call to update_moduleinfo()
in /var/www/moodle/web.git/lib/weblib.php on line 3111\n', referer: https://.../moodle/course/modedit.php?update=1465&return=0&sr=0

It happens neither with the original assignment nor with newly created one. Is it something to worry about? Should I file a bug? Thanks for help.

Moodle version: 3.3.4+ (Build: 20180223)

Average of ratings: -