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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 2.6
    • Themes
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • 42057-26
    • 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.

      This is a follow on from MDL-41398.

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.