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

Allow uninstall of webservice plugins

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.3
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to Site Administration > Plugins > Plugins overview and confirm that SOAP plugin can be uninstalled
      2. Confirm that rest and xmlrpc plugins can't be uninstalled
      3. (Optional) Install a third party web service plugin and confirm that it can be uninstalled.

      (Note that there seems to be a bug where the plugins overview continues to show the plugin as enabled after it has been disabled, but this doesn't appear to affect the uninstall logic. You can fix it by purging caches.)

      Show
      Go to Site Administration > Plugins > Plugins overview and confirm that SOAP plugin can be uninstalled Confirm that rest and xmlrpc plugins can't be uninstalled (Optional) Install a third party web service plugin and confirm that it can be uninstalled. (Note that there seems to be a bug where the plugins overview continues to show the plugin as enabled after it has been disabled, but this doesn't appear to affect the uninstall logic. You can fix it by purging caches.)
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:

      Description

      Unlike most plugin types, where uninstall is allowed or prevented based on some logic (e.g. whether the plugin is in use or not), webservice plugins can never be deleted. It's hard to see a good reason for this, particularly given that the whole webservices functionality can be switched off, and it can cause problems for server administrators. In particular, if a third-party webservice plugin has been installed it can never be properly uninstalled, even if it is no longer supported or under development.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17