ZF-9188: Failures in Zend_Cache_Manager
Description
Failures
PHPUnit 3.4.5 by Sebastian Bergmann.
.EEEE......E
Time: 16 seconds, Memory: 6.50Mb
There were 5 errors:
1) Zend_Cache_ManagerTest::testLazyLoadsDefaultPageCache
Zend_Cache_Exception: A cache configuration templatedoes not exist with the name "tagCache"
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:324
2) Zend_Cache_ManagerTest::testCanOverrideCacheFrontendNameConfiguration
Zend_Cache_Exception: A cache configuration templatedoes not exist with the name "tagCache"
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:324
3) Zend_Cache_ManagerTest::testCanMergeTemplateCacheOptionsFromZendConfig
Zend_Cache_Exception: A cache configuration templatedoes not exist with the name "tagCache"
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:324
4) Zend_Cache_ManagerTest::testCanOverrideCacheBackendendNameConfiguration
Zend_Cache_Exception: A cache configuration templatedoes not exist with the name "tagCache"
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:324
5) Zend_Cache_ManagerTest::testGettingPageCacheAlsoCreatesTagCache
Zend_Cache_Exception: cache_dir must be a directory
/var/www/ZendFramework-trunk/library/Zend/Cache.php:208
/var/www/ZendFramework-trunk/library/Zend/Cache/Backend/File.php:154
/var/www/ZendFramework-trunk/library/Zend/Cache/Backend/File.php:121
/var/www/ZendFramework-trunk/library/Zend/Cache.php:152
/var/www/ZendFramework-trunk/library/Zend/Cache.php:93
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:230
/var/www/ZendFramework-trunk/library/Zend/Cache/Manager.php:223
FAILURES!
Tests: 12, Assertions: 7, Errors: 5.
Changes made in Zend_Cache_Manager should be reflected in tests units.
Comments
Posted by Ramon Henrique Ornelas (ramon) on 2010-02-16T04:13:02.000+0000
Attached the patch of the correction.
Posted by Pádraic Brady (padraic) on 2010-04-28T09:12:39.000+0000
Fixed previously? Just checked and cannot reproduce any of the detailed errors.
Posted by Ramon Henrique Ornelas (ramon) on 2010-04-28T19:52:17.000+0000
@Padraic
Changes made in revision r20602 in class Zend_Cache_Manager::$_optionTemplates option *tagcache* renamed to *pagetag*, in test units Zend_Cache_ManagerTest makes use *tagcache*.
Other problem in revision r20582 in Zend_Cache_Manager::$_optionTemplates['page']['name'] changed to Capture in test units Zend_Cache_ManagerTest in line 73 current code
Should be
Thanks
Posted by Pádraic Brady (padraic) on 2010-04-29T08:05:57.000+0000
ManagerTest has been omitted from AllTests - reopening for resolution shortly.
Posted by Pádraic Brady (padraic) on 2010-04-29T08:14:05.000+0000
Committed patch as r22056. 1 remaining error to resolve concerning a non-existing "frontend" index.
Posted by Pádraic Brady (padraic) on 2010-04-29T08:20:38.000+0000
If it's not resolved now, I'll eat my hat. Not that I have a hat ;).
Posted by Ramon Henrique Ornelas (ramon) on 2010-04-29T10:15:32.000+0000
Thanks @PadraicB ;).