Issue Type: Sub-task Created: 2009-11-03T12:58:21.000+0000 Last Updated: 2012-05-19T12:32:08.000+0000 Status: Reopened Fix version(s): - 1.10.0 (27/Jan/10)
Reporter: Micah Gersten (micah26) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool
Related issues: Attachments:
I have a extended class in library/ in my project. When I run Zend_Tool, it cannot find a class in there: zf create action help blocks 1 ip Creating an action named help inside controller at /var/zf/application/modules/ip/controllers/BlocksController.php
Fatal error: Class 'Extended_Controller' not found in /var/zf/application/modules/ip/controllers/BlocksController.php on line 3
Extended_Controller is in: library/Extended/Controller.php
Posted by Benjamin Eberlei (beberlei) on 2009-11-20T03:57:50.000+0000
With Zend_Tool 1.10 we are able to use Autoloading in the context of Zend_Tool_Project, which should solve this issue.
I'll rename it and convert it into a sub-task for 1.10 requirements.
Posted by Ralph Schindler (ralph) on 2009-12-21T14:14:44.000+0000
Resolved in trunk (for 1.10)
Posted by Martin Hujer (mhujer) on 2012-05-19T12:31:44.000+0000
Still seems broken in latest trunk.
Steps to reproduce: 1) zf create project 2) create library/My/Controller.php:
<pre class="highlight"> 3) add autoloaderNamespaces = "My_" to config 4) change IndexController to extend My_Controller 5) Everything works fine in browser 6) "zf create action foo" dies on error:
Creating an action named foo inside controller at I:\xampp\htdocs\zf1/application/controllers/IndexController.php
Fatal error: Class 'My_Controller' not found in I:\xampp\htdocs\zf1\application\controllers\IndexController.php on line 4```
Have you found an issue?
See the Overview section for more details.