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

Several additions to Common Cartridge Import/Export

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.7
    • Component/s: Backup: IMS-CC
    • Labels:
    • Testing Instructions:
      Hide

      Test Moodle backup/restore in Common Cartridge format:

      • Include a quiz that uses a essay question.
      • Include a quiz that uses a true/false question.
      • Include a quiz that uses a multiple choice question with "Multiple answers allowed".
      • Include a quiz that uses a short answer question without wildcards.
      • Include a folder resource with some files.
      • Backup the course to a CC file, then restore this file to a new course.
      • All the items above should be in the new course.
        • Note though: The folder resource will be restored as a label activity that just has a folder icon and name of the folder resource. The folder resource files will actually be available under the Legacy course files area. This is due to the limitation of having to go through Moodle 1.9 conversion.

      Testing restore of some other Common Cartridge packages:

      1. Download the attached CCv1p1ValidTestDataSetv1p0a.zip
      2. Unzip the downloaded CCv1p1ValidTestDataSetv1p0a.zip file. This should unzip to a folder containing several .imscc files.
      3. Navigate to the Restore interface is Moodle and upload a single .imscc file to restore.
      4. Restore the .imscc file into a new Moodle course and verify that there were no errors.
      5. Repeat steps 3 and 4 again for any other .imscc file in the CCv1p1ValidTestDataSetv1p0a.zip file. It's expected that files 06, 07 and 08 throw exception

      Things to note on Common Cartridge format restore:

      • Common Cartridge discussions should now be restored as "Standard General" Moodle forum activities.
      • Japanese characters (Probably any UTF-8 chars) should be restored correctly now.
      Show
      Test Moodle backup/restore in Common Cartridge format: Include a quiz that uses a essay question. Include a quiz that uses a true/false question. Include a quiz that uses a multiple choice question with "Multiple answers allowed". Include a quiz that uses a short answer question without wildcards. Include a folder resource with some files. Backup the course to a CC file, then restore this file to a new course. All the items above should be in the new course. Note though: The folder resource will be restored as a label activity that just has a folder icon and name of the folder resource. The folder resource files will actually be available under the Legacy course files area. This is due to the limitation of having to go through Moodle 1.9 conversion. Testing restore of some other Common Cartridge packages: Download the attached CCv1p1ValidTestDataSetv1p0a.zip Unzip the downloaded CCv1p1ValidTestDataSetv1p0a.zip file. This should unzip to a folder containing several .imscc files. Navigate to the Restore interface is Moodle and upload a single .imscc file to restore. Restore the .imscc file into a new Moodle course and verify that there were no errors. Repeat steps 3 and 4 again for any other .imscc file in the CCv1p1ValidTestDataSetv1p0a.zip file. It's expected that files 06, 07 and 08 throw exception Things to note on Common Cartridge format restore: Common Cartridge discussions should now be restored as "Standard General" Moodle forum activities. Japanese characters (Probably any UTF-8 chars) should be restored correctly now.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-44630_CC_Changes

      Description

      Changes provided by Darko Miletic and Sam Chaffee.

      • Fix problem with CC import not detecting a CC package. (Sam)
      • Fixed Common Cartridge not importing FIB answers. (Sam)
      • Fix to CC export so that short answer pattern matching question
        in a quiz does not prevent the entire quiz from exporting. (Sam)
      • Fix notice about missing index when there is no answer-specific
        feedback in short answer question during CC export. (Sam)
      • Fixed Japanese characters being incorrectly encoded (garbled)
        on Common Cartridge import. (Sam)
      • Changed import of CC discussions to create 'Standard General'
        forums in Moodle. (Sam)
      • Fix problem with question name being replaced with question
        text on CC import of exported Moodle questions. (Sam)
      • Fix CC 1.1 multiple choice question import having no correct
        answers. (Sam)
      • Fixed problem with multiple choice, multiple answers allowed
        questions not exporting correct answers to CC. (Sam)
      • Removed duplicate method. (Darko)
      • Implemented fix that skips quiz export if it contains
        non-exportable question. (Darko)
      • Fixed: Common cartridge export is extremely slow when dealing
        with lot of more than 200 files. (Darko)
      • Added support for basic roles support in common cartridge. (Darko)
      • Implemented folder resource export. (Darko)
      • Minor fixes to adjust to the standard. (Darko)
      • Added support for exporting simple fill in the blank
        (shortanswer without wildcards in Moodle). (Darko)
      • Added support for exporting essay question. (Darko)
      • Added support for true/false export. (Darko)
      • Added support for exporting multiple response questions,
        added also category information into question metadata
        during export (Darko)
      • Added support for correctly importing multiple response
        questions. (Darko)

        Attachments

        1. backup-moodle2-course-16-cctest1-20140505-0736-nu.imscc
          19 kB
        2. backup-moodle2-course-16-cctest1-20140505-0748-nu.mbz
          33 kB
        3. CCv1p1ValidTestDataSetv1p0a.zip
          8.84 MB
        4. course1.png
          course1.png
          40 kB
        5. course2.png
          course2.png
          190 kB
        6. course3.png
          course3.png
          52 kB
        7. course4.png
          course4.png
          105 kB
        8. course5.png
          course5.png
          219 kB
        9. courseimport1.png
          courseimport1.png
          185 kB
        10. courseimport2.png
          courseimport2.png
          89 kB
        11. courseimport3.png
          courseimport3.png
          19 kB
        12. courseimport4.png
          courseimport4.png
          67 kB
        13. courserestore1.png
          courserestore1.png
          106 kB
        14. courserestore2.png
          courserestore2.png
          53 kB

          Issue Links

            Activity

              People

              Assignee:
              bushido Mark Nielsen
              Reporter:
              bushido Mark Nielsen
              Peer reviewer:
              Darko Miletic
              Integrator:
              Marina Glancy
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Darko Miletic, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14