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

Observe plugin dependencies on plugin deletion

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Go to Site administration > Plugins > Plugins overview. Make sure that there is no link to uninstall things the are required. qtypes and qbehaviours are good ones to look at.

      Show
      Go to Site administration > Plugins > Plugins overview. Make sure that there is no link to uninstall things the are required. qtypes and qbehaviours are good ones to look at.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Since MDL-29474 we have a brand-new way to specify interdependencies between plugins, and they are checked on install & upgrade.

      The same dependencies need to be checked on plugin deletion, preventing it if dependent plugins are found.

      At the same time, this surely will imply to show the dependencies information over all the "list-plugin" pages, to know the status and connections for each plugin.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/11