ZF-11381: Zend Tools: It is not possible to create a new view script inside of the specified module (module parameter is not provided in "zf create view" command) (solution offered)
Description
Here is an simple extension of class Zend_Tool_Project_Provider_View to resolve bug (valid for version 1.11.6):
diff
95c95
< public function create($controllerName, $actionNameOrSimpleName)
public function create($controllerName, $actionNameOrSimpleName, $module = null)105c105
< $view = self::createResource($profile, $actionNameOrSimpleName, $controllerName);
$view = self::createResource($profile, $actionNameOrSimpleName, $controllerName, $module);
Comments
Posted by Kim Blomqvist (kblomqvist) on 2011-05-15T11:02:26.000+0000
Suggested patch attached
Sasha - thanks for the report. Next time when you have also a patch to provide, follow the steps described here, Submitting a Bug Fix
Posted by Sasha Rudan (mprinc) on 2011-05-15T17:41:35.000+0000
Ohh, sorry! Thanks for help!
Posted by Ralph Schindler (ralph) on 2011-05-28T19:58:39.000+0000
Fixed in trunk at r24067 and in release branch 1.11 at r24068 Committed by [~ralph]