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

Session and request caches fail when stores have been disabled.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.3, 2.6
    • 2.4.6, 2.5.2
    • Caching
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • 41997-26
      1. Run unit tests - they now cover it.
      2. Disable cache stores by adding define('CACHE_DISABLE_STORES', true); to your config.php
      3. Browse the front page of the site, make sure you can still see your categories.

      If you disable all cache stores as follows then request and session caches never succeed.
      With stores disabled things should still persist for the request.

      define('CACHE_DISABLE_STORES', true);
      

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Ankit Agarwal Ankit Agarwal
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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