Issues

ZF-7855: wrong creation of module controller with zf.bat tool

Description

when we create module controller with zf.bat it creates wrong class for controller. It creates only class name without prefix of the module name.

example: zf.bat create controller list 1 blog

it creates in modules/blog/controller/ListController.php class ListController extends Zend_Controller_Action {

public function init() {/* Initialize action controller here */}
public function indexAction(){ // action body}

}

but the right name would be with the prefix of module name class Blog_ListController extends Zend_Controller_Action {

public function init() {/* Initialize action controller here */}
public function indexAction(){ // action body}

}

Comments

Fixed in r18600 in incubator as part of ZF-6787. Will be included in 1.10 release.