Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.7.4, 1.8.5, 1.9
-
Component/s: Enrolments, Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Description
When upgrading from 1.6.x, new role assignments are given default values rather than retaining those stored in user_students and user_teachers. This appears to be the only place Internal Enrolment keeps a user's enrolment date and method.
Attached is a patch which retains enrolment dates and methods during upgrade.
Attachments
Issue Links
| This issue will help resolve: | ||||
| MDL-14395 | Upgrading to roles loses timestart and timeend from user_students and user_teacher tables |
|
|
|
| This issue has a non-specific relationship to: | ||||
| MDL-10502 | Manually assigning a role in a course does not record timestart and timeend values for courses with enrollment durations |
|
|
|
Updated patch against HEAD (accesslib.php 1.441)