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

XMLRPC to be or not to be

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Removal of XMLRPC extension dependencies

    Description

      Current situation:

      • There are a good list of xmlrpc related issues in the tracker (35 at the time of writing this).
      • PHP 8.0 has moved the xmlrpc extension out from core, now available @ PECL (in "beta" status right now - RC2).
      • We use XMLRPC in various places:
        • Mnet: Both inter-server communication and authentication plugin.
        • Webservices: As a supported protocol on its own.
        • Portfolio (mahara).
        • Exceptions here and there because we are using (incorrectly) stuff within webservice/xmlrpc plugin from other parts of Moodle. (See MDL-56879 for example).
        • ...

      Possible paths (non unique, use by use):

      • We continue using XMLRPC
        • PECL one [or]
        • PHP-only alternative 3rd party lib.
      • We stop using XMLRPC
        • Removing features [or]
        • Changing features to another WS protocol.

      In any case, this requires to be analysed, use by use, and come with a clear outcome (can imagine this becoming an epic) for each. But current situation is really bad (all the points exposed), and we should aim to change that.

      Moodle 4.0 could be a good moment to break this nut!

      Ciao

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              8 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22