ZF-7542: Creating a module named "search" creates errors when creating actions with Zend Tool

Issue Type: Bug Created: 2009-08-09T18:54:48.000+0000 Last Updated: 2009-10-16T22:17:59.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Sean T. Conrad (stconrad) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool

Related issues: Attachments:


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]$


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.