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

Restore creating blank course records when restoring non-moodle backup files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.2, 1.9
    • 1.8.5, 1.9, 2.0
    • Backup
    • None
    • Mysql, Php5, Debian Etch
    • MySQL
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      We are having a major issue with some sites restoring courses. Somehow the restoration process is resulting in a blank course record being created. This causes a category of 0 which then causes the SITEID to be the blank course (and thus breaks the whole moodle).

      My suspicion is that it is related to the course restore taking a long amount of time and crashing. I am awaiting for some step-by-step reports from users which i'll post here to try and track this bug.

      Edit: In the end I discovered this bug was caused by users restoring non-moodle backup zip files (scorm)

      Attachments

        1. blankcourseoutput.txt
          3 kB
          Dan Poltawski
        2. converted_moodle.xml
          2 kB
          Dan Poltawski
        3. mdl-13339quickfix.patch
          0.5 kB
          Dan Poltawski

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              poltawski Dan Poltawski
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08