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

Set number of course sections to a reasonable value when course content is imported

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • None
    • 2.9.1
    • Course
    • MOODLE_29_STABLE
    • UU-159
    • Hide

      When importing the contents of one course (course 1) into another (course 2)
      If course 1 has more sections than course 2 then currently the activities in the additional sections will be orphaned.
      If you check the 'Create empty sections' then sufficient additional sections will be added to course 2 that the activities are able to sit in a visible section.

      Show
      When importing the contents of one course (course 1) into another (course 2) If course 1 has more sections than course 2 then currently the activities in the additional sections will be orphaned. If you check the 'Create empty sections' then sufficient additional sections will be added to course 2 that the activities are able to sit in a visible section.

    Description

      Steps to reproduce:

      • Create a course A
      • Set the number of course sections of course A to > 1
      • Fill the course sections of course A with some activities
      • Create a course B
      • Set the number of course sections of course B to 1
      • Fill the course sections of course B with some activities
      • Go to course A
      • Open the Course administration -> Import menu item
      • Import content of more than one section from course B into course A

      Actual result:

      • In course A, section number 1 is visible and shows the imported content
      • In course A, section number 2 and so on are not visible and are only shown as orphaned activities when editing mode is on

      Expected result:

      • In course A, the number of sections is set to a reasonable value and all sections which were imported from course B are visible to students without having to change anything to change orphaned activity sections to real sections.

      Attachments

        Issue Links

          Activity

            People

              andrew_dc_hancox Andrew Hancox
              abias Alexander Bias
              Adrian Greeve Adrian Greeve
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: