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

Session and request caches fail when stores have been disabled.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.6, 2.5.2
    • 2.5.3, 2.6
    • 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.

    Description

      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);
      

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              samhemelryk Sam Hemelryk
              Ankit Agarwal Ankit Agarwal
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Adrian Greeve Adrian Greeve
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Nov/13