Zend Framework

Zend_Cache_Backend_File::clean(Zend_Cache::CLEANING_MODE_ALL) returns false

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.10.8
  • Fix Version/s: None
  • Component/s: Zend_Cache
  • Labels:
    None

Description

Im using File backend for Zend_Cache like this:

resources.cachemanager.file.frontend.name = Core
resources.cachemanager.file.frontend.options.lifetime = 7200
resources.cachemanager.file.frontend.options.automatic_serialization = true
resources.cachemanager.file.backend.name = File
resources.cachemanager.file.backend.options.cache_dir = "C:\Temp\"

When I call Zend_Cache_Backend_File::clean with CLEANING_MODE_ALL, all cache files are deleted correct but return value is false.

You can reproduce it storing something in cache and then call Zend_Cache_Backend_File::clean() and var_dump the result. It will be bool(false)!

Activity

Hide
Ramon Henrique Ornelas added a comment - - edited

Could you supply a little more information.

please provide, at least.

  • The usecase when it happened
  • An example to be able to reproduce the issue

Thanks advance.

Show
Ramon Henrique Ornelas added a comment - - edited Could you supply a little more information. please provide, at least.
  • The usecase when it happened
  • An example to be able to reproduce the issue
Thanks advance.

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated: