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

alternative component cache location and other cleanup

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6
    • 2.6
    • Libraries
    • None
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • w29_MDL-40475_m26_componentcache
    • Hide

      1/ install moodle (without debug mode)
      2/ run phpunit init and then all tests
      3/ run behat init and then all tests
      4/ set config.php setting $CFG->alternative_component_cache = 'somepath/core_component.php'; and verify it is created automatically if directory writable
      5/ try all CLI options from "php admin/cli/alternative_component_cache.php"
      6/ alter you alternative core_component.php file - some whitespace that does not create PHP error
      7/ verify normal pages still work fine (because they do not validate the cache)
      8/ verify admin/index.php page shows error that the cache file is stale
      9/ execute "php admin/cli/alternative_component_cache.php --rebuild" and verify the core_component.php file is fixed again

      Show
      1/ install moodle (without debug mode) 2/ run phpunit init and then all tests 3/ run behat init and then all tests 4/ set config.php setting $CFG->alternative_component_cache = 'somepath/core_component.php'; and verify it is created automatically if directory writable 5/ try all CLI options from "php admin/cli/alternative_component_cache.php" 6/ alter you alternative core_component.php file - some whitespace that does not create PHP error 7/ verify normal pages still work fine (because they do not validate the cache) 8/ verify admin/index.php page shows error that the cache file is stale 9/ execute "php admin/cli/alternative_component_cache.php --rebuild" and verify the core_component.php file is fixed again

      see MDL-39854, this should allow storing of component cache outside of shared cachedir

            skodak Petr Skoda
            skodak Petr Skoda
            Damyon Wiese Damyon Wiese
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

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