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

Course Creator cannot create Single Activity course format

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-70972-MOODLE_403_STABLE
    • MDL-70972-MOODLE_404_STABLE
    • MDL-70972-main
    • Hide

      Workaround 1

      The problem arises due to the lack of capability for Course creators to generate activities. To grant them the ability to create activities within those courses, please follow these steps:

      1. Navigate to Site administration > Users > Permissions > Define roles > Edit Course creator.
      2. Then, modify the 'mod/*:addinstance' capabilities to 'Allow' for all the necessary functionalities."

      Workaround 2

      After the Course Creator has created the course using the Topics format:

      1. Log in as a manager or administrator
      2. Remove the Course Creator's Teacher role in the course and save.
      3. Assign the Course Creator a Teacher role in the course and save.

      The course creator will now be able to switch the course format to Single Activity Format and select the desired activity type. This kind of defeats the whole point of having the Course Creator role in this situation if someone else needs to intervene.

      This is a very short term solution if you have many people creating courses as this intervention by a Moodle Manager or Administrator will need to be repeated on every course by each Course Creator.

      Show
      Workaround 1 The problem arises due to the lack of capability for Course creators to generate activities. To grant them the ability to create activities within those courses, please follow these steps: Navigate to Site administration > Users > Permissions > Define roles > Edit Course creator. Then, modify the 'mod/*:addinstance' capabilities to 'Allow' for all the necessary functionalities." Workaround 2 After the Course Creator has created the course using the Topics format: Log in as a manager or administrator Remove the Course Creator's Teacher role in the course and save. Assign the Course Creator a Teacher role in the course and save. The course creator will now be able to switch the course format to Single Activity Format and select the desired activity type. This kind of defeats the whole point of having the Course Creator role in this situation if someone else needs to intervene. This is a very short term solution if you have many people creating courses as this intervention by a Moodle Manager or Administrator will need to be repeated on every course by each Course Creator.
    • Hide
      1. Log in as an Administrator
      2. Create 1 user.
      3. Make that user a Course Creator of the default Miscellaneous category which is created when you first install Moodle (same results regardless of the category).
      4. Log out.
      5. Log in as the user created in Step 2.
      6. Navigate to the Miscellaneous category.
      7. Click the Add a New Course button.
      8. Set the Course Format > Format field to Single Activity Format.
      9. Wait for the page to reload (takes a few seconds).

      The Type of activity dropdown field should be populated by all of the different available activity types.

      Show
      Log in as an Administrator Create 1 user. Make that user a Course Creator of the default Miscellaneous category which is created when you first install Moodle (same results regardless of the category). Log out. Log in as the user created in Step 2. Navigate to the Miscellaneous category. Click the Add a New Course button. Set the Course Format > Format field to Single Activity Format . Wait for the page to reload (takes a few seconds). The  Type of activity dropdown field should be populated by all of the different available activity types.

      Steps to reproduce:

      1. Log in as an Administrator
      2. Create 1 user.
      3. Make that user a Course Creator of the default Miscellaneous category which is created when you first install Moodle (same results regardless of the category).
      4. Log out.
      5. Log in as the user created in Step 2.
      6. Navigate to the Miscellaneous category.
      7. Click the Add a New Course button.
      8. Set the Course Format > Format field to Single Activity Format.
      9. Wait for the page to reload (takes a few seconds).
      10. Notice that the Type of activity field is blank.

      This makes it impossible for users with the Course Creator role to create single activity format courses. I have even tried first creating a Topics format, saving and then editing. It all works fine except that I still get a blank list of activity types if I choose Single Activity Format.

      Our organization is currently in the process of creating almost 100 courses in Moodle with more coming. Please fix this issue as soon as possible.

      I have tested this on multiple Moodle sites from release 3.8 to 3.10 including the official Moodle Sandbox site and can reproduce the issue 100% of the time.

            phmemmel PhMemmel
            michael-milette Michael Milette
            Laurent David Laurent David
            Amaia Anabitarte Amaia Anabitarte
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            5 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 57 minutes
                2h 57m

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