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

Environment custom checks aren't backwards compatible

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.9.2
    • Fix Version/s: 1.8.7, 1.9.3
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      environment.xml can be downloaded at any time (from download.moodle.org that publish the HEAD version).

      That introduces new checks (custom ones, relying in moodle libs) that cannot be there in older versions.

      For example, the php_check_register_globals check, is under 1.9 and HEAD but not it 1.8. If, under 1.8 you try to check for 1.9 compatibility, it throws one error, because the Moodle code needed to perform that test isn't available in 1.8.

      Behaviour should be to ignore checks that cannot be performed (because of missing lib of function).

      Ciao

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Tim Hunt
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08