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

Common cartridge export does not honour the number of sections in exported course

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • Hide

      Before applying the patch:
      1. Create an empty course with 20 sections
      2. Edit course settings and change section number to 16
      3. Export course to common cartridge
      4. Exported course will have 20 sections in the manifest instead of 16 as it should

      After applying the patch:
      1. Create an empty course with 20 sections
      2. Edit course settings and change section number to 16
      3. Export course to common cartridge
      4. Exported course will have 16 sections in the manifest

      Show
      Before applying the patch: 1. Create an empty course with 20 sections 2. Edit course settings and change section number to 16 3. Export course to common cartridge 4. Exported course will have 20 sections in the manifest instead of 16 as it should After applying the patch: 1. Create an empty course with 20 sections 2. Edit course settings and change section number to 16 3. Export course to common cartridge 4. Exported course will have 16 sections in the manifest

    Description

      Extra sections in course:
      When a course has more sections attached to it than the number of defined sections these sections are being exported with common cartridge.

      This happens when user creates a course with one number of sections and later on decides to change that number to a lower one. In those cases Moodle does not delete extra sections and they become sort of orphaned.

      Attachments

        Activity

          People

            darko.miletic Darko Miletic
            darko.miletic Darko Miletic
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Davis Andrew Davis
            Darko Miletic, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/Mar/12