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

Fix course restricted module restore from 1.9 to 2.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 1.9.17, 2.2.2
    • Backup
    • MOODLE_19_STABLE, MOODLE_22_STABLE

      Found this error while testing MDL-19125.

      Unable to restoring to 2.x from 1.9 course backup file with the following setting:

      Enabling module security and preventing teachers from adding the disallowed modules.

      To reproduce:
      1. Using a Moodle 1.9 site, turn on the Module security feature, and set it to restrict modules for all courses, with a default list.

      2. Go into a course in this site, go to the course settings, make sure module security is turned on there, and that the list of allowed modules is right, then Save the form.

      3. Backup this course, and restore it into your Moodle 2.3 dev install. Verify that role overrides are created to prevent Teachers from adding the disallowed modules.

            Unassigned Unassigned
            rwijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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