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

Course sections deleted on update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.2, 3.5
    • Fix Version/s: 3.4.5, 3.5.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      Pre-requisites

      Provision a Moodle environment running 3.2:

      1. Add course with 16 topic sections. Do not add content to any of the sections.
      2. Add course with 16 week sections. Do not add content to any of the sections.

      Manual testing

      1. Upgrade the Moodle 3.2 environment using this Patch.
      2. Expected result: Ensure that the courses still has 16 empty topic sections and 16 week sections.
      Show
      Pre-requisites Provision a Moodle environment running 3.2: Add course with 16 topic sections. Do not add content to any of the sections. Add course with 16 week sections. Do not add content to any of the sections. Manual testing Upgrade the Moodle 3.2 environment using this Patch. Expected result : Ensure that the courses still has 16 empty topic sections and 16 week sections.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-62534-master

      Description

      We just updated from 3.2.4 to 3.4.2 and some of our courses had sections that were deleted. There does not appear to be a pattern with which courses had sections removed after the update. The courses had 16 sections before the upgrade, the course format settings showed 16 before the upgrade (so not a case of orphaned sections), and after the upgrade, only section 0 remains. It occurred across multiple categories. And it did not occur with all courses configured similarly - it appears sporadic (some courses had 16 empty sections before the upgrade and have 16 empty sections after the upgrade).

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h