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

problem with SCORM backup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.4
    • Fix Version/s: 1.6.5, 1.7.2, 1.8, 1.9
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      Linux Gentoo or Windows, Apache 2, PHP 5, Mysql 5
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      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

              • Assignee:
                fjrincon Jesús Rincón
                Reporter:
                piokoch Pio Ko
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Mar/07