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

Cohort sync enrolment doesn't sync group membership

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.1, 3.8.1
    • Fix Version/s: None
    • Component/s: Cohorts, Enrolments, Groups
    • Labels:
      None
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      Perhaps this one is expected behavior, but I believe that the members of a group should match the members of a cohort using the cohort sync method - this is not the case.

      Steps:

      1. Site administration > Plugins > Enrollments > Cohort sync and set 'disable course enrollment and remove roles'.
      2. Create two cohorts, COHORT A and COHORT B at system level and add a user to both.
      3. In a course add the cohort sync method for both cohorts making sure to choose 'create new group', call them GROUP A and GROUP B.
      4. Check that the user has two enrollments on the participants page, and is a member of two groups.
      5. Remove the user from COHORT A.
      6. Check the participants page in the course and confirm the user is no longer a member of GROUP A.

      Expected:

      The user's enrollment for cohort sync for COHORT A is suspended and their group membership of GROUP A is removed.

      Actual:

      The user's enrollment for cohort sync for COHORT A is suspended and their group membership of GROUP A is NOT removed.

       
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hamboneZA James Hamilton
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: