Project

General

Profile

MigDok185 Ch20 Users » History » Version 9

Stefaan Vanbillemont, 03/03/2010 10:09
Added validation/convert method

1 3 Stefaan Vanbillemont
h1. Migration Dokeos 185 to Chamilo 20 - Users
2
3 4 Stefaan Vanbillemont
h2. Files involved
4 2 Stefaan Vanbillemont
5 7 Stefaan Vanbillemont
* /migration/platform/dokeos185/dokeos185_user.class.php
6
7 2 Stefaan Vanbillemont
h2. Validation method
8
9 9 Stefaan Vanbillemont
1. retrieve all old users from Dokeos 1.8.5 
10
2. check if all old users have:
11 7 Stefaan Vanbillemont
* username
12
* password
13
* status
14 8 Stefaan Vanbillemont
15 7 Stefaan Vanbillemont
3. For each username that is already used in the new platform, generate a new username
16 2 Stefaan Vanbillemont
17 1 Stefaan Vanbillemont
h2. Convert method
18
19 9 Stefaan Vanbillemont
1. Create new user object
20
2. Set all user fields
21
3. Copy user picture (if available) to the /files/userpictures/ subfolder
22
4. Create/Publish Profile object
23
5. Convert Production files to Content objects in repository
24 5 Stefaan Vanbillemont
25
26 6 Stefaan Vanbillemont
Back to [[Migration_Dok185_Ch20_General|Migration Dokeos 1.8.5 to Chamilo 2.0 - General]]