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

    Details

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

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Integrator:
              Aparup Banerjee
              Tester:
              Aparup Banerjee
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/11