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

When changing a course section number to lower values, conten in the rest of the sections remains but is hidden

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Major Major
    • None
    • 2.0.2, 2.1.4, 2.2.1
    • Course
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      1. Create a new empty course with 20 sections
      2. Enter the course and now change the number of sections to 16
      3. Look into course_sections table and you will see that sections are still there
      4. Export the course and notice the orphaned sections are present there

      Show
      1. Create a new empty course with 20 sections 2. Enter the course and now change the number of sections to 16 3. Look into course_sections table and you will see that sections are still there 4. Export the course and notice the orphaned sections are present there

      If you ever try to change number of sections of an existing course to a lower value than initial Moodle will NOT remove the extra sections and associated activities etc. They will be present there forever until you actually delete the course. They will be preserved even during export/import.

      To me this looks like a bug.

            moodle.com Moodle HQ
            darko.miletic Darko Miletic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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