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

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

XMLWordPrintable

    • 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

      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.

            darko.miletic Darko Miletic
            darko.miletic Darko Miletic
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.