Issue Type: Patch Created: 2010-06-22T13:16:57.000+0000 Last Updated: 2010-07-18T08:35:11.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)
Reporter: Benoît Durand (intiilapa) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application_Resource
Related issues: - ZF-10049
Attachments: - en-Db.xml.patch
I want to define the metadata's cache from application configuration. Zend_Db::factory() can not define logically the cache for metadata of DbTables. So, I think that is the resource Db allow that.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-06-22T13:26:12.000+0000
Will evaluate later (probably in 24 hours). Thanks for the patch with unittests (that's what makes a maintainer happy)
Posted by Benoît Durand (intiilapa) on 2010-06-22T13:46:07.000+0000
Fix Zend_Application_Bootstrap_Exception: Resource matching "CacheManager" not found
Posted by Benoît Durand (intiilapa) on 2010-06-24T12:44:20.000+0000
Fix the dependency between the two unit tests. The metadata cache is stored in a static attribut. So we have to clean it after a test.
I have not found how to delete the previous patch.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-06-24T17:57:44.000+0000
I keep getting this error:
<pre class="highlight">1) Zend_Application_Resource_DbTest::testSetDefaultMetadataCache Zend_Cache_Exception: file Zend/Cache/Backend/Blackhole.php not found in include_path /srv/projects/ZF/trunk/library/Zend/Cache.php:209 /srv/projects/ZF/trunk/library/Zend/Cache.php:148 /srv/projects/ZF/trunk/library/Zend/Cache.php:94 /srv/projects/ZF/trunk/tests/Zend/Application/Resource/DbTest.php:164 /srv/projects/ZF/trunk/tests/Zend/Application/Resource/DbTest.php:55 /srv/projects/ZF/trunk/tests/Zend/Application/Resource/DbTest.php:214
Posted by Benoît Durand (intiilapa) on 2010-06-24T20:01:52.000+0000
Fix the compatibilty with a case sensitive filesystem. Sorry, I did not know how the method Zend_Cache::__normalizeName() works for backends using multiple words.
Posted by Benoît Durand (intiilapa) on 2010-07-18T08:10:43.000+0000
The documentation for this new configuration key in english and french.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-07-18T08:35:11.000+0000
Patches have been applied. Thank you.
Have you found an issue?
See the Overview section for more details.