-- Julian Davchev <[EMAIL PROTECTED]> wrote
(on Friday, 07 March 2008, 12:13 PM +0200):
> I was badly surprised when updated ZF to 8625
>
> I am trying to access this action
> 'addIndex' - camel sized action
>
> in controller I have
> public function addIndexAction()
>
> but I get
> string 'Action "addindex" does not exist and was not trapped in __call()'
> /(length=64)/
>
>
>
> changing method name to
> public function addindexAction() lowercased
> worked but this is so weird.
Please read section 7.13.1 of the manual:
http://framework.zend.com/manual/en/zend.controller.migration.html
Basically, you either need to do as you did and lowercase the action
name, or use a word separator in your URL to ensure that the action name
is constructed into an action method appropriately: 'add-index' or
'add.index' in your url will do the trick. You will also need to ensure
your view script is named add-index.phtml.
What you were relying on was unintended functionality, and we cannot
support it going forward as it is basically impossible to ensure that
all case permutations get mapped to the appropriate action.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/