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

Implement a maintenance renderer to prevent use of core API during install/upgrade

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      42057-26
    • Testing Instructions:
      Hide

      Add the following to your config file:

      $CFG->theme = 'clean';
      

      Using your browser:

      1. Perform a fresh installation.
      2. Upgrade a 24 site to 25 and then master.
      3. While the upgrade is running using another browser attempt to browse to the site. Check the page is displayed correctly.
      4. Put the site into maintenance mode and using another browser try to browse the frontpage. (you should get the maintenance page and importantly no errors).
      5. Repeat this using standard and any canvas based theme.

      Using the command line interface:

      1. Install a fresh site.
      2. Upgrade a 24 site to 25 and then to master.
      Show
      Add the following to your config file: $CFG->theme = 'clean'; Using your browser: Perform a fresh installation. Upgrade a 24 site to 25 and then master. While the upgrade is running using another browser attempt to browse to the site. Check the page is displayed correctly. Put the site into maintenance mode and using another browser try to browse the frontpage. (you should get the maintenance page and importantly no errors). Repeat this using standard and any canvas based theme. Using the command line interface: Install a fresh site. Upgrade a 24 site to 25 and then to master.

      Description

      This is a follow on from MDL-41398.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Rajesh Taneja Rajesh Taneja
              Participants:
              Component watchers:
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13