-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.1, 2.1.2
-
Windows Server 2008 R2, patched to date, SQL 2008 R2, patched to date. PHP 5.3.6 NTS with FastCGI on IIS 7.5
-
Microsoft SQL
-
MOODLE_21_STABLE
-
MOODLE_22_STABLE
-
w42_
MDL-29688_m22_enrol -
Normally, when all of a user's roles are removed from a course, they no longer appear in the Participants list in that course. In the child courses of a Meta linked course, the child courses seem to properly follow this same behavior.
In the Parent course, however, this is not the case. The user properly reflects the removal of roles in the Parent course ("Course Administration > Enrolled Users"), but still shows in the Participants portion of the course, even after all of their roles have been removed.
Replication steps:
- Create two child courses and a parent course, then add the child courses to the parent courses as meta linked enrollment courses.
- We're using the database enrollment plugin to add users to the Student role of the child courses.
- In the configuration of the database enrollment plug, we have the unenrollment behavior set to "disable course enrolement and remove roles".
- In the configuration of the meta linked course enrollment plugin, we do not have any roles set to not synchronize, i.d. all roles are synchronized.
- A user drops the course and is removed from the course in the external enrollment database.
Expected Behavior: All roles are removed for the user in the child course and the parent course, and removed from the list of participants in the child course and parent course.
Actual Behavior: All roles are removed for the user in the child course and the parent course, and removed from the list of participants in the child course BUT NOT the parent course.