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

Clean theme needs the upgrade page to be dumb

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.5.3, 2.6
    • Component/s: Course, Themes
    • Labels:
    • Testing Instructions:
      Hide

      Add the following to your config file:
      <code>
      $CFG->theme = 'clean';
      </code>

      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 check again using another browser.

      Using the command line interface:

      1. Install a fresh site.
      2. Upgrade a 24 site to 25 and then to master.
      3. During the upgrade using a browser visit the site.
      Show
      Add the following to your config file: <code> $CFG->theme = 'clean'; </code> 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 check again using another browser. Using the command line interface: Install a fresh site. Upgrade a 24 site to 25 and then to master. During the upgrade using a browser visit the site.
    • Workaround:
      Hide

      Put

      $CFG->theme = 'standard';

      In your config.php file, until the upgrade has completed.

      Show
      Put $CFG->theme = 'standard'; In your config.php file, until the upgrade has completed.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      41398-26-2
    • Story Points (Obsolete):
      8
    • Sprint:
      FRONTEND Sprint 5

      Description

      1. Install Moodle 2.2
      2. Set in config.php: $CFG->theme = 'clean';
      3. Attempt to upgrade to Moodle 2.6:

      On /admin/, it all goes pete tong and you can't move forward:

      [Fri Aug 23 11:47:27 2013] [error] [client 127.0.0.1] Default exception handler: Table "course_format_options" does not exist 
       
      Debug: 
      Error code: ddltablenotexist
      * line 567 of /lib/dml/moodle_database.php: dml_exception thrown
      * line 1189 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
      * line 582 of /course/format/lib.php: call to moodle_database->get_records()
      * line 239 of /course/format/lib.php: call to format_base->get_format_options()
      * line 419 of /course/format/lib.php: call to format_base->get_course()
      * line 1788 of /lib/navigationlib.php: call to format_base->extend_course_navigation()
      * line 1093 of /lib/navigationlib.php: call to global_navigation->load_course_sections()
      * line 2977 of /lib/navigationlib.php: call to global_navigation->initialise()
      * line 3020 of /lib/navigationlib.php: call to navbar->has_items()
      * line 55 of /theme/bootstrapbase/renderers/core_renderer.php: call to navbar->get_items()
      * line 57 of /theme/clean/layout/columns1.php: call to theme_bootstrapbase_core_renderer->navbar()
      * line 847 of /lib/outputrenderers.php: call to include()
      * line 777 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      * line ? of unknownfile: call to core_renderer->header()
      * line 234 of /lib/outputrenderers.php: call to call_user_func_array()
      * line 146 of /admin/renderer.php: call to plugin_renderer_base->__call()
      * line 146 of /admin/renderer.php: call to core_admin_renderer->header()
      * line 264 of /admin/index.php: call to core_admin_renderer->upgrade_confirm_page()
      , referer: http://dan.moodle.local/m/pm/
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Nov/13