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

module security broken for new courses

    Details

    • Testing Instructions:
      Hide
      1. Go to Site administration > Security > Module security
      2. Switch 'Restrict modules for..' to 'all course'
      3. Tick 'Restrict modules by default'
      4. Select a few modules in the list and save
      5. Navigate to Site admin > Courses > Add/edit courses
      6. Click "Add a new course"
      7. Scroll down to the "Restrict activity modules?" (why does this end in an ?) section

      Expected result: The restricted modules list should appear to have the same set of modules set as the global setting.

      Show
      Go to Site administration > Security > Module security Switch 'Restrict modules for..' to 'all course' Tick 'Restrict modules by default' Select a few modules in the list and save Navigate to Site admin > Courses > Add/edit courses Click "Add a new course" Scroll down to the "Restrict activity modules?" (why does this end in an ?) section Expected result: The restricted modules list should appear to have the same set of modules set as the global setting.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      To reproduce

      • Got to Site administration > Security > Module security
      • Switch on 'Restrict modules for..' to 'all course'
      • Tick 'Restrict modules by default'
      • Select a few modules in the list and save
      • Create a new course
      • The restricted modules list appears in the course settings and is enabled but no modules are selected. The requested ones (in the admin page) should be selected.

      I confirmed this in 2.2.3+ (Build: 20120519) and in the latest 2.0 branch. Not tried in 2.1 or master

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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