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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7
    • Component/s: Hub
    • Labels:

      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

              Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              marycooch Mary Cooch
              Peer reviewer:
              Amaia Anabitarte
              Integrator:
              Adrian Greeve
              Tester:
              Nobody
              Participants:
              Component watchers:
              David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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