Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70746

DB error while copying course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.4
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:

      Description

      Hello

      If you try to copy a course in Moodle multiple times (while copy requests are still in progress) you get the following error when you return to the course.

      This does not show up if dubegging mode is off, normal user can't see it but I thought its a good idea to report it.

      Error: mdb->get_record() found more than one record!
       
      line 1636 of /lib/dml/moodle_database.php: call to debugging()
      line 1596 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
      line 229 of /backup/util/helper/async_helper.class.php: call to moodle_database->get_record_select()
      line 251 of /course/view.php: call to async_helper::is_async_pending()
      
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            christos312 christos
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m