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

Uploading a course for sharing on Moodle.net gives error message

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7
    • 3.7
    • Hub

    Description

      When testing MDLQA-12986 I got an error message which I am pasting below:

      Can not find data record in database table course.
      More information about this error
      Debug info: SELECT id(category FROM

      {course}

      WHERE id IS NULL [array (
      )]
      Error code: invalidrecord
      Stack trace:
      • line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_selectO
      • line 6818 of/lib/accesslib.php: call to moodle_database->get_recordO
      • line 49 of /course/publish/backup.php: call to context_course::instanceQ

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              marycooch Mary Cooch
              Amaia Anabitarte Amaia Anabitarte
              Adrian Greeve Adrian Greeve
              Nobody Nobody
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 11 minutes
                  1h 11m