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

Mahara XMLRPC login fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The latest Moodle 2 beta is not compatible with the latest release of Mahara
      when using XMLRPC authentication to set up Mahoodle

      The userdata format returned by the mnet auth module is not accepted, but it is perfectly happy if the unformatted $user is returned.

      FIX FOR auth/mnet/auth.php

      Add the line

      if ($remoteclient->application->name == 'mahara')

      { return $user; }

      above the line

      $userdata = mnet_strip_user((array)$user, mnet_fields_to_send($remoteclient));

        Attachments

          Activity

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              edcrewe Ed Crewe
              Tester:
              Nobody
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10