Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9.2
-
Component/s: Zend_Cache
-
Labels:None
-
Fix Version Priority:Should Have
Description
Due to its name sanitation in Zend_Cache::_normalizeName() Zend_Cache::factory() does not allow the creation of a Zend_Cache_Backend_TwoLevels backend on Linux systems (case-sensitive filenames) as Zend_Cache::_normalizeName() normalizes the string "TwoLevels" into "Twolevels" resulting in an include of "Zend/Cache/Backend/Twolevels.php" which fails on case-sensitive operating systems.
The currect hack is to set $customBackendNaming to true and use "Zend_Cache_Backend_TwoLevels" as the $backendName.
The fix should be no problem because the strtolower()-call in line 219 of Zend/Cache.php is not really necessary - although I suspect that this change will break backwards-compatibility.
as said in the online manual for ZendPlatform or ZendServer backend, you have to add a separator in the backend name (for example "Two Levels" instead of "TwoLevels")
so I change the issue into a documentation improvement (it's not explicitly said for this this particular backend)