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

get_default_stores() does not ensure stores have been included.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.4.4
    • Component/s: Caching
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Clean install 2.4.3 (release - not stable weekly) - upgrade to master
      2. Verify you do not see the error reported in the description
      3. Install 2.4 latest stable weekly - upgrade to master integration
      4. Verify you do not see the error reported in the description
      5. Install 2.3 latest stable weekly - upgrade to 2.4 integration
      6. Verify you do not see the error reported in the description
      Show
      Clean install 2.4.3 (release - not stable weekly) - upgrade to master Verify you do not see the error reported in the description Install 2.4 latest stable weekly - upgrade to master integration Verify you do not see the error reported in the description Install 2.3 latest stable weekly - upgrade to 2.4 integration Verify you do not see the error reported in the description
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39602-master

      Description

      Michael reported an error during upgrade of 2.4 (not 2.3 or master)...

      Fatal error: Class 'cachestore_file' not found in D:\xampp\htdocs\24_integration\cache\locallib.php on line 393
      (11:18:18) Michael d: Is anyone else experiencing that?

      It looks like get_default_stores should include the required_once the store files inside that function so it is safe to call it from anywhere.

      Will get more specifics on how to trigger this error for the testing instructions.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/13