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

Updating user profile with imsenterprise enrolment plugin is not working.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      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.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poltawski Dan Poltawski
                Reporter:
                rajeshtaneja Rajesh Taneja
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: