Moodle
  1. Moodle
  2. MDL-30349

Moodle does not clear file status cache when deleting directories and before creating theme cache files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Libraries
    • Labels:
    • Rank:
      32717

      Description

      Text rewritten by skodak:

      1/ David highlighted interesting hack in Typo3 recursive implementation - it manually resets file stat cache after deleting dirs, this may workaround some PHP bugs, we should steal it from there.

      2/ skodak found a potential caching problem (when reviewing original David's proposal to reset stat cache after crating dirs) when storing theme caches. The trouble is that different request may delete cache directories, solution is to reset file stat cache right before creating the dir structure for new cache files.

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: