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

On creating a new course, course creators cannot change availability. Default value does not honor course default settings.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Course, Roles / Access
    • Labels:
      None
    • Testing Instructions:
      Hide

      1/ create some course creator user
      2/ set course visibility default to "available to students"
      3/ logins as the creator and create course
      4/ it is expected the new course availability matches the
      default
      5/ flip the visibility default and retry creating other course

      Show
      1/ create some course creator user 2/ set course visibility default to "available to students" 3/ logins as the creator and create course 4/ it is expected the new course availability matches the default 5/ flip the visibility default and retry creating other course
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w28_MDL-34155_m24_visibilitydefault

      Description

      We have an upgraded installation from 1.9, with per-category course creator roles. If these course creators try to create new courses with an url like this (https://moodleurl/course/edit.php?category=18&returnto=category), the Availability field only displays "This course is available to students", there's no drop-down box at all. Our default setting for new courses is "Not available for students".

      If they go on creating the course, they can later change availability from the settings, but initially it stays open.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              hwileniu Heikki Wilenius
              Integrator:
              Sam Hemelryk
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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