Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5
-
None
-
php5.2.0.8, apache2, linux - presume this affects all php5, (if not all php generally).
-
MOODLE_18_STABLE, MOODLE_19_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
Description
Where the xmlrpc method course_enrolments is called, and the relevant course contains users whose username is numeric (eg 99013362), the caller cannot properly extract the username from the resulting array. The affected usernames are renumbered - 0,1,2,3.....
Non-numeric usernames are unaffected.
To reproduce:
set up 2 moodles, get them both trusting each other, and allowing one another to enrol students in their courses. Create 2 users on moodle A "Fred", and "99013362", attempt to enrol Fred and 99013362 in a course shared by moodle B using the networking / enrolment interface. Observe that only fred appears on the LHS of the mnet enrolment interface.
Attachments
Issue Links
- will help resolve
-
MDL-21260 General open bugs
-
- Closed
-