Issue Details (XML | Word | Printable)

Key: MDL-11142
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Martin Dougiamas
Reporter: Chris Bandy
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Enrolment data discarded during upgrade

Created: 06/Sep/07 02:30 PM   Updated: 22/Apr/08 03:56 PM
Return to search
Component/s: Enrolments, Roles
Affects Version/s: 1.7.4, 1.8.5, 1.9
Fix Version/s: 1.7.5, 1.8.6, 1.9.1

File Attachments: 1. Text File accesslib.php.patch (2 kB)

Issue Links:
Dependency
 
Relates
 

Participants: Chris Bandy, Eloy Lafuente (stronk7), Martin Dougiamas, N Hansen and Petr Skoda
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 18/Apr/08
Affected Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
moodler committed 1 file to 'Moodle CVS' on branch 'MOODLE_17_STABLE' - 18/Apr/08 11:28 AM
MDL-11142 Roles upgrade was losing timestart and timeend for teachers and students :-(
MODIFY lib/accesslib.php   Rev. 1.166.2.48    (+3 -3 lines)
moodler committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 18/Apr/08 11:30 AM
MDL-11142 Roles upgrade was losing timestart and timeend for teachers and students (Merged from 1.7)
MODIFY lib/accesslib.php   Rev. 1.221.2.51    (+4 -4 lines)
moodler committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 18/Apr/08 11:31 AM
MDL-11142 Roles upgrade was losing timestart and timeend for teachers and students (Merged from 1.7)
MODIFY lib/accesslib.php   Rev. 1.421.2.60    (+4 -4 lines)
moodler committed 1 file to 'Moodle CVS' - 18/Apr/08 11:33 AM
MDL-11142 Roles upgrade was losing timestart and timeend for teachers and students (Merged from 1.7)
MODIFY lib/accesslib.php   Rev. 1.480    (+4 -4 lines)