Issues

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)

Issue Type: Bug Created: 2011-05-15T10:12:50.000+0000 Last Updated: 2011-05-28T19:59:20.000+0000 Status: Resolved Fix version(s): - 1.11.7 (02/Jun/11)

Reporter: Sasha Rudan (mprinc) Assignee: Kim Blomqvist (kblomqvist) Tags: - Zend_Tool

Related issues: Attachments: - ZF-11381.patch

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]

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts