Moodle
  1. Moodle
  2. MDL-27819

a 1.9 to 2.1 restored mod lesson has db error - 'found more than one record'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Backup, Lesson
    • Labels:
    • Rank:
      17461

      Description

      using the backup in the parent bug, converted and restored into a 2.1 installation.
      i'm seeing the lesson module show up this error on top.

      Error: mdb->get_record() found more than one record!
      line 1290 of /lib/dml/moodle_database.php: call to debugging()
      line 1353 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
      line 1332 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
      line 1311 of /lib/dml/moodle_database.php: call to moodle_database->get_field_select()
      line 164 of /mod/lesson/view.php: call to moodle_database->get_field()
      Error: mdb->get_record() found more than one record!
      line 1290 of /lib/dml/moodle_database.php: call to debugging()
      line 1353 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
      line 1332 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
      line 1311 of /lib/dml/moodle_database.php: call to moodle_database->get_field_select()
      line 251 of /mod/lesson/view.php: call to moodle_database->get_field()

      for some reason there is some duplicity going on.

        Issue Links

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: