-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.5
-
MOODLE_25_STABLE
While testing MDL-39802, it was discovered that user profile update is not working.
Steps to reproduce:
- Enable imsenterprise enrolment.
- Create user with following xml.
<?xml version="1.0" encoding="ISO-8859-1"?>
<person>
<sourcedid>
<source>MyDataSystem</source>
<id>jmoodle</id>
</sourcedid>
<userid>jmoodle</userid>
<name>
<fn>Joe Moodle</fn>
<n>
<family>MOODLE</family>
<given>JOE</given>
</n>
</name>
</person>
</xml>
- Update user email using following xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<person recstatus= "2">
<sourcedid>
<source>MyDataSystem</source>
<id>jmoodle</id>
</sourcedid>
<userid>jmoodle</userid>
<email>rajesh.taneja@gmail.com</email>
<name>
<fn>Joe Moodle</fn>
<n>
<family>MOODLE</family>
<given>JOE</given>
</n>
</name>
</person>
</xml>
It fails with following message
IMS Enterprise enrol cron process launched at Wednesday, 29 May 2013, 3:15 PM
|
Found file /home/rajesht/ims.txt
|
User record already exists for user 'jmoodle' (ID number jmoodle).
|
Process has completed. Time taken: 0 seconds.
|