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

get_default_stores() does not ensure stores have been included.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.3
    • 2.4.4
    • Caching
    • None
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • MDL-39602-master
    • 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

    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.

      Attachments

        Activity

          People

            damyon Damyon Wiese
            damyon Damyon Wiese
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Mark Nelson Mark Nelson
            Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/May/13