ZF-11785: zf create action

Issue Type: Bug Created: 2011-10-01T12:03:44.000+0000 Last Updated: 2011-10-23T23:59:50.000+0000 Status: Closed Fix version(s): Reporter: Gayatri Bhade (gayatrivb) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Tool

  • zf-crteam-priority

Related issues: - ZF-9501



I am running the zend command through netbeans using a keymap (Alt+Z) for Project->Zend->Run command When I am running this, my cursor is in an existing action. e.g: class UserController extends Zend_Controller_Action { ... public function indexAction() { // some code if($this->getRequest()- >isPost() && $form - >isValid($_POST)){

//some more code and my cursor is here } } ..

What happens is action gets generated with the phtml file and all, but the closing brace of the above mentioned if case vanishes - in all actions of that controller. Reproduced this thrice. Tomas Mysik 2011-09-23 10:51:59 --- Confirmed, unfortunately cannot be fixed in NetBeans, it is a bug in Zend framework. NetBeans just invokes ZF script, can be easily verified by running from command line in project folder:

zf create action test

The file is then corrupted.

Please, submit an issue against ZF itself. My ZF version:

gapon@cattie ~ $ zf show version Zend Framework Version: 1.11.10


Posted by Thomas Weidner (thomas) on 2011-10-03T12:08:32.000+0000

Fixed assigned component

Posted by Adam Lundrigan (adamlundrigan) on 2011-10-23T23:59:50.000+0000

This ticket duplicates ZF-9501

Have you found an issue?

See the Overview section for more details.


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

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