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

Missing aliasing in Mustache Filesystem Loader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.9.1
    • 2.9, 2.9 regressions
    • General
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-50254-master
    • Hide

      Set theme to "clean" in config.php
      Go to template library admin page
      Change theme to "more" in config.php WITHOUT reloading the page.
      Click on a template from the library - verify the template loads and there are no 500 errors in the network tab.

      Show
      Set theme to "clean" in config.php Go to template library admin page Change theme to "more" in config.php WITHOUT reloading the page. Click on a template from the library - verify the template loads and there are no 500 errors in the network tab.

      On file /lib/classes/output/mustache_template_finder.php the theme_config class must be aliased ( use theme_config; ) otherwise PHP will spawn this error:

      Class 'core\output\theme_config' not found in /lib/classes/output/mustache_template_finder.php on line 72

            Unassigned Unassigned
            zaerl Francesco Bigiarini
            Damyon Wiese Damyon Wiese
            Dan Poltawski Dan Poltawski
            John Okely John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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