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

tool_uploadcourse does not restore section restrictions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.5.16, 3.9.4
    • Administration, Course
    • None
    • MOODLE_35_STABLE, MOODLE_39_STABLE

      Reproduction steps :

      1. Create a new course in topics course format (we have tried other course formats, and they have the same issue).
      2. Add a restriction to section 2 (the problem can be reproduced with any section) 
      3. Backup the course
      4. Restore the course
      5. Note that the restriction is present in the restored course.
      6. Create a csv file to generate a new course as a copy of our original course (created in step 1)
      7. Navigate to /admin/tool/uploadcourse/index.php
      8. Select the csv file from step 6 and submit
      9. Click through subsequent screens to launch the course creation
      10. Navigate to the created course
      11. Observe that the section restriction is not present as it should be

      This issue appears to be referenced in ticket https://tracker.moodle.org/browse/MDL-61158

       

      Example csv file :

      shortname;fullname;idnumber;category_idnumber;templatecourse
      importfromtopics;importfromtopics;importfromtopics;import;topics

            Unassigned Unassigned
            db.edunao David Bokobza
            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.