Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.4
-
Fix Version/s: 1.10.5
-
Component/s: Zend_Application
-
Labels:None
Description
application.ini
[tests] pluginpaths.Rediska_Zend_Application_Resource = "Rediska/Zend/Application/Resource" resources.rediska.namespace = "Rediska_Test_" resources.rediska.servers.0.host = 127.0.0.1 resources.rediska.servers.0.port = 6379
Bootstarping
require_once 'Rediska.php'; //Other class with name 'Rediska' $application = new Zend_Application('tests', REDISKA_TESTS_PATH . '/Test/Zend/Application/application.ini'); $rediska = $application->bootstrap()->getBootstrap()->getResource('rediska');
In Zend_Application_Bootstrap_BootstrapAbstract in line 357 class requred before ('Rediska') will be initialized!
Issue Links
| This issue duplicates: | ||||
| ZF-8225 | Wrong class gets instantiated in Zend_Application_Bootstrap_BootstrapAbstract::getPluginResource() |
|
|
|
What is the actual outcome, and what outcome were you expecting?