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

Some warnings and basic problems restoring one IMSCC file generated by Moodle export

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.3
    • Fix Version/s: 2.2.4
    • Component/s: Backup: IMS-CC
    • Labels:
    • Testing Instructions:
      Hide

      Using the backup of a course attached to the issue MDL-33080 perform a restore and then export it in common cartridge format. Note for 22_STABLE this requires $CFG->enablebackupconverters = true; @ config.php

      Try to restore that common cartridge.

      None of the problems excluding item B will be present.

      Show
      Using the backup of a course attached to the issue MDL-33080 perform a restore and then export it in common cartridge format. Note for 22_STABLE this requires $CFG->enablebackupconverters = true; @ config.php Try to restore that common cartridge. None of the problems excluding item B will be present.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33523_master

      Description

      This was detected while testing MDL-33080.

      To reproduce:

      1) Restore the attached course backup @ MDL-33080 into new course.
      2) It contains one label, one page resource and one IMS-CP activity (playing one SCORM package).
      3) Backup it as IMS-CC
      4) Restore the generated .imscc package

      Annoyances:

      A - In the process, this warning is shown:

      Warning: copy(pix/f/folder.gif) [function.copy]: failed to open stream: No such file or directory in backup/cc/entities11.class.php on line 72

      (not sure why any icon is copied at all. No especial "decoration" should be shown)

      B - The IMS-CP activity/package is completely missing.

      C - There are 3 "Untitled" in the resulting course. And 4 missing icons (the "folder" ones, I bet).

      Ciao

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jul/12