Bug #437

Identifiers are used as is in the filenames used by the file cache backend

Added by Karsten Dambekalns over 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-04-02
Priority:Could have Due date:2008-04-02
Assigned To:Robert Lemke % Done:

100%

Category:Cache
Target version:-
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

Things like

Warning: file_put_contents(/tmp//FLOW3/143f698bcb42f2a69b18d164896d265d//Production/Cache/FLOW3_Resource_Manager/0/7/2008-04-02T10;30;27Z_file://FLOW3/Public/MVC/DefaultView_Template.html.cachedata.47f35233ef0cc.temp) [function.file-put-contents]: failed to open stream: No such file or directory in /Users/karsten/Sites/TYPO3v5/Packages/FLOW3/Classes/Cache/Backend/F3_FLOW3_Cache_Backend_File.php line 135

should not happen... The identifier given to VariableCache in this case was "file://FLOW3/Public/MVC/DefaultView_Template.html"

Associated revisions

Revision 2a23883c
Added by Robert Lemke over 7 years ago

  • FLOW3: Disabled the configuration cache in the FLOW3 default configuration because it currently produces some errors if the test runner is executed in production mode.
  • FLOW3: (Cache) Implemented checks for valid cache and entry identifiers for cache frontend and backend. Resolves #437.

Also available in: Atom PDF