Issue Details (XML | Word | Printable)

Key: ZF-7224
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matthew Weier O'Phinney
Reporter: Miroslav Kubelik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

loader warnings when using class resource for a specific module

Created: 08/Jul/09 03:32 AM   Updated: 10/Aug/09 07:37 AM   Resolved: 06/Aug/09 10:39 AM
Return to search
Component/s: Zend_Application
Affects Version/s: 1.8.4, 1.9.0
Fix Version/s: 1.9.1

Time Tracking:
Not Specified

File Attachments: 1. Text File BootstrapAbstract.patch (0.6 kB)

Issue Links:
Related
 


 Description  « Hide

I use main autoloader with enabled warnings and fallback autoloader. I also use modules bootstrap with Zend_Application_Resource_Modules.
When I try to define routes for my module via module prefix as it's desribed in the manual e.g.

blog.resources.router.routes.blogIndex.route = blog
blog.resources.router.routes.blogIndex.defaults.module = blog
blog.resources.router.routes.blogIndex.defaults.controller = index
blog.resources.router.routes.blogIndex.defaults.action = index
blog.resources.router.routes.blogIndex.type = Zend_Controller_Router_Route_Static

I get these warnings

Warning: include(router.php) [function.include]: failed to open stream: No such file or directory in blabla/zendframework/library/Zend/Loader.php on line 83

Warning: include() [function.include]: Failed opening 'router.php' for inclusion (include_path='blalba;....') in blabla/zendframework/library/Zend/Loader.php on line 83

Maybe cause is same as in ZF-6658

if (class_exists($plugin))

in Zend_Application_Bootstrap_BootstrapAbstract::getPluginResource()



Miroslav Kubelik added a comment - 06/Aug/09 09:50 AM

There is a patch, it solves also ZF-6658 and ZF-6672 I think, please consider to apply this one.


Miroslav Kubelik added a comment - 06/Aug/09 09:57 AM

still presented in 1.9.0


Matthew Weier O'Phinney added a comment - 06/Aug/09 10:39 AM

Patch applied to trunk and 1.9 release branch.