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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2
    • Libraries

      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.

            skodak Petr Skoda
            mudrd8mz David Mudrák (@mudrd8mz)
            Aparup Banerjee Aparup Banerjee
            Aparup Banerjee Aparup Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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