Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39911

Updating user profile with imsenterprise enrolment plugin is not working.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.5
    • Enrolments
    • MOODLE_25_STABLE

      While testing MDL-39802, it was discovered that user profile update is not working.
      Steps to reproduce:

      1. Enable imsenterprise enrolment.
      2. 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>
        

      3. 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.
      

            poltawski Dan Poltawski
            rajeshtaneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.