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

problem with SCORM backup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.4
    • 1.6.5, 1.7.2, 1.8, 1.9
    • SCORM
    • None
    • Linux Gentoo or Windows, Apache 2, PHP 5, Mysql 5
    • MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Scorm backup is created incorrectly unless the backup is done with user data and files. The backup does not contain needed files in moddata/scorm

      This is probably the same problem that was reported in MDL-3570.

      To fix this it is necessary to modify /mod/scorm/backuplib.php, starting in line 79, there should be
      if ($status) {
      if (backup_userdata_selected($preferences,'scorm',$scorm->id))

      { $status = backup_scorm_scoes_track($bf,$preferences,$scorm->id); }

      $status = backup_scorm_files_instance($bf,$preferences,$scorm->id);
      }

      instead of
      if ($status) {
      if (backup_userdata_selected($preferences,'scorm',$scorm->id))

      { $status = backup_scorm_scoes_track($bf,$preferences,$scorm->id); $status = backup_scorm_files_instance($bf,$preferences,$scorm->id); }

      }

      Attachments

        Issue Links

          Activity

            People

              fjrincon Jesús Rincón
              piokoch Pio Ko
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Mar/07