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

Session and request caches fail when stores have been disabled.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 2.5.2
    • Fix Version/s: 2.5.3, 2.6
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      41997-26

      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

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Peer reviewer:
              Ankit Agarwal Ankit Agarwal
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Adrian Greeve Adrian Greeve
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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