Issues

ZF-8371: create controller creates wrong views/scripts directory

Issue Type: Bug Created: 2009-11-23T03:18:45.000+0000 Last Updated: 2009-12-21T15:02:24.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Roel van Dun (rule) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool

Related issues: Attachments:

Description

when creating a controller with Zend_Tool with multiple words, the views/scripts folder isn't named correctly.

Example:

./zf.sh create controller supplyAndDemand provides: controller name: SupplyAndDemandController controller filename: (application/controllers/)SupplyAndDemandController.php view/scripts folder: (application/views/)supplyAndDemand

But the dispatcher searches for a view script in the application/views/supply-and-demand folder, instead of application/views/supplyAndDemand

Comments

Posted by Roel van Dun (rule) on 2009-11-23T03:21:33.000+0000

if I create the controller like this:

./zf.sh create controller supply-and-demand gives a correct views/scripts folder name (supply-and-demand), but then the controller filename is wrong (Supply-and-demandController.php)

Posted by Ralph Schindler (ralph) on 2009-12-21T15:02:24.000+0000

This has been resolved in trunk and will be in the 1.10 release

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