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

Failed environment.xml check does not prevent plugin from being installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.11, 2.8.9, 2.9.3, 3.0
    • Fix Version/s: None
    • Component/s: Administration
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE

      Description

      As a result of MDL-39840 and MDL-48177 the additional plugins can now provide their own environment.xml file - see https://docs.moodle.org/dev/Plugin_files#environment.xml

      However, the file does not seem to be checked when installing or upgrading the plugin. So the admin would have to manually visit the Site administration > Server > Environment page to find out if there is some missing requirement. And that can be too late already.

      I would expect that failed checks prevent installation / upgrade of the plugin.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mudrd8mz David Mudrák (@mudrd8mz)
                Reporter:
                mudrd8mz David Mudrák (@mudrd8mz)
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: