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
    • Deprecation of MNet

    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

              Unassigned Unassigned
              stronk7 Eloy Lafuente (stronk7)
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                14/Nov/22