Moodle
  1. Moodle
  2. MDL-22964

XML-RPC should be required, so that we can rely on it

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      26872

      Description

      XML RPC is used for hub communication, moodle networking and web services. It's easy to enable, I'd like to rely on it in 2.0.

        Activity

        Hide
        Martin Dougiamas added a comment -

        I've updated enviroment.xml in 1.9 and 2.0 to reflect this.

        Show
        Martin Dougiamas added a comment - I've updated enviroment.xml in 1.9 and 2.0 to reflect this.
        Hide
        Martin Dougiamas added a comment -

        OK, there has been some push-back about this.

        If we drop it back to "recommended" we need to upgrade the interface so that:

        1) Even though the user can still register with a hub (this doesn't use XML-RPC) the user is warned at registration time that they can not USE the hubs until XML-RPC is installed on the server.

        2) It couldn't hurt to have a reminder of this at the end of registration as well.

        3) The "Enable hub" setting in the hub module should FAIL to work if XML-RPC is not installed, and should tell the admin what to do.

        4) The cron job that updates registration info on the hub should quietly be skipped when XML-RPC is not present.

        I'll create some sub-tasks, Jerome.

        Show
        Martin Dougiamas added a comment - OK, there has been some push-back about this. If we drop it back to "recommended" we need to upgrade the interface so that: 1) Even though the user can still register with a hub (this doesn't use XML-RPC) the user is warned at registration time that they can not USE the hubs until XML-RPC is installed on the server. 2) It couldn't hurt to have a reminder of this at the end of registration as well. 3) The "Enable hub" setting in the hub module should FAIL to work if XML-RPC is not installed, and should tell the admin what to do. 4) The cron job that updates registration info on the hub should quietly be skipped when XML-RPC is not present. I'll create some sub-tasks, Jerome.
        Hide
        Martin Dougiamas added a comment -

        Since we can do registration without XML-RPC now I've removed this requirement and made it optional again.

        Show
        Martin Dougiamas added a comment - Since we can do registration without XML-RPC now I've removed this requirement and made it optional again.

          People

          • Assignee:
            Martin Dougiamas
            Reporter:
            Martin Dougiamas
            Tester:
            Nobody
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: