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

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

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12