ZF-7542: Creating a module named "search" creates errors when creating actions with Zend Tool
Description
I created a module named "search" for a test application and it breaks Zend Tool for creating actions
Here' s the repro steps:
[bash]$ zf create project test Creating project at /home/user/test
[bash]$ cd test [bash]$ zf create module search Creating the following module and artifacts: /home/user/test/application/modules/search/controllers /home/user/test/application/modules/search/models /home/user/test/application/modules/search/views /home/user/test/application/modules/search/views/scripts /home/user/test/application/modules/search/views/helpers /home/user/test/application/modules/search/views/filters Updating project profile '/home/user/test/.zfproject.xml'
[bash]$ zf create action web controller-name=index view-included=1 search
Fatal error: Call to a member function search() on a non-object in /home/user/ZendFramework-1.9.0/library/Zend/Tool/Project/Provider/Action.php on line 92 [bash]$
Comments
Posted by Leopold Chmielewski (poldekch) on 2009-09-03T13:26:01.000+0000
Same message - ZF 1.9.2 on Windows, very simple project - first added controller, cannot add actions:
C:\wamp\www\pb_zf>zf create action spat outlierdetection Fatal error: Call to a member function search() on a non-object in C:\wamp\www\library\Zend\Tool\Project\Provider\Action.php on line 92
Posted by Ralph Schindler (ralph) on 2009-10-16T22:17:59.000+0000
Fixed in r18631 in incubator. Will be part of 1.10 release.