-- Rob Allen <[EMAIL PROTECTED]> wrote (on Friday, 07 March 2008, 12:27 PM +0000): > On 7 Mar 2008, at 10:13, Julian Davchev wrote: > > 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. > > > > > In 1.5, this now works as documented - it was wrong in 1.0x and is > documented in > http://framework.zend.com/manual/en/zend.controller.migration.html#zend.controller.migration.fromoneohtoonefive. > > Unfortunately, it's also the biggest cause of upgrade woe judging by the > amount of emails the list gets about it :)
It was also a constant source of issues when we *didn't* enforce it -- people would wonder why their view script filenames weren't resolving as camelCased names, or why a dash would suddenly appear. The changes we applied make the framework more consistent, and also make it conform to work *as documented* (i.e., the documentation always indicated that word separation characters were needed on the URL, but in practice we did not have a test that ensured that this carried through to all other realms of responsibility, such as the dispatcher and view renderer). There *are* options for getting the old behaviour to work, and they *are* documented in the link I provided. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/