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

"Restrict modules" leads to courses with no modules allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9
    • 1.9
    • Course
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      As per MDLSITE-361, it's possible to get into a strange situation when:

      • restrictmodulesfor is enabled for some courses and
      • some defaultallowedmodules are defined

      In this case, when editing the settings of a course, the $course->restrict flag is switched ON automatically, even though an ordinary teacher can't see the setting in the form. Unfortunately, the default modules aren't set as well, so the course gets into a state where there's nothing in the add menus for the course (all modules are banned).

            dougiamas Martin Dougiamas
            dougiamas Martin Dougiamas
            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.