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

Handle empty directories better during install/upgrade

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.6
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide
      1. Ensure that all upgrades have been run
      2. Create a new directory in admin/tool/foo
      3. Run the admin/cli/upgrade.php script
        1. Note that there were no errors, and you were not prompted to upgrade
      4. View /admin/ in a browser
        1. Note that there were no errors, and you were not prompted to upgrade
      Show
      Ensure that all upgrades have been run Create a new directory in admin/tool/foo Run the admin/cli/upgrade.php script Note that there were no errors, and you were not prompted to upgrade View /admin/ in a browser Note that there were no errors, and you were not prompted to upgrade
    • Affected Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-63080-master

      Description

      Since MDL-61041 we're seeing warnings/errors about missing version.php.
      The current workaround is to remove the stale phpunit.xml file in the directory, but we should really check for the existence of the file instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                dobedobedoh Andrew Nicols
                Peer reviewer:
                Michael Hawkins
                Participants:
                Component watchers:
                Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: