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

Cohort enrollment screen no longer searchable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.3, 2.8.8, 2.8.9, 2.8.10, 2.9.2, 2.9.3, 2.9.4, 3.0, 3.0.1, 3.0.2, 3.0.6, 3.0.7, 3.1.2, 3.1.3, 3.3.3, 3.4
    • Fix Version/s: 3.5
    • Component/s: Cohorts, Enrolments
    • Testing Instructions:
      Hide

      Setup

      1. Create some site level cohorts.
      2. Create one course-category-level cohort in a new course category (I.e. not miscellaneous)
      3. Enable the cohort-sync enrolment type
      4. Grant the capability "moodle/cohort:view" to the teacher role at the site level.

      Testing scenario 1

      1. Login as a teacher and go to a course in the Miscellaneous category (should only have a course-level teacher role - not any site-level roles)
      2. Add a new enrolment method to the course "cohort-sync"
        • CHECK - On the cohort sync page use the new searchable selector to find the cohorts you have created at the site level
        • Verify you can't see the cohort created against the other course category.
        • Verify site-level cohorts are available even when the teacher is only assigned as a teacher within the course and does not have any site-level roles.

      Testing scenario 2

      1. Login as a teacher
      2. Edit the "cohort-sync" enrolment method created in the previous testing scenario.
        • CHECK the cohort can't be edited and that the cohort name is displayed correctly.
      Show
      Setup Create some site level cohorts. Create one course-category-level cohort in a new course category (I.e. not miscellaneous) Enable the cohort-sync enrolment type Grant the capability "moodle/cohort:view" to the teacher role at the site level. Testing scenario 1 Login as a teacher and go to a course in the Miscellaneous category (should only have a course-level teacher role - not any site-level roles) Add a new enrolment method to the course "cohort-sync" CHECK - On the cohort sync page use the new searchable selector to find the cohorts you have created at the site level Verify you can't see the cohort created against the other course category. Verify site-level cohorts are available even when the teacher is only assigned as a teacher within the course and does not have any site-level roles. Testing scenario 2 Login as a teacher Edit the "cohort-sync" enrolment method created in the previous testing scenario. CHECK the cohort can't be edited and that the cohort name is displayed correctly.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master_MDL-49417

      Description

      The cohort enrollment screen has changed from 2.7 to 2.8 with a loss of functionality. It is no longer possible to enroll cohorts from this screen.

      See for more info:
      https://moodle.org/mod/forum/discuss.php?d=283906

      Either remake the button 'enroll cohort' or recreate the cohort enrollment screen that is now shown when you go to 'enrollment methods'.

      The drop-down idea for enrolling cohorts is just silly, nice for small moodle installations - horrible for big Moodle installations.

      See also the post below, in course the number of cohort is limited to 25!!!

        Attachments

        1. 2.PNG
          2.PNG
          52 kB
        2. Image1.png
          Image1.png
          55 kB

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 50 minutes
                  50m