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

Yet another regression in installers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide

      Try the CLI installer with the dataroot in a non-default location and with the lang set to some non-English (en_us is enough, we just need to force installer to install some additional lang pack).

      No PHP warnings should appear.

      Show
      Try the CLI installer with the dataroot in a non-default location and with the lang set to some non-English (en_us is enough, we just need to force installer to install some additional lang pack). No PHP warnings should appear.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-30381-dataroot-install

      Description

      Recent changes in install scripts (MDL-29351) introduced two regressions:

      • $CFG->cachedir were set incorrectly
      • In CLI installer, the cachedir and tempdir were populated from a default $CFG->dataroot instead of the one passed as option

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Aparup Banerjee
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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