Bug #3488
Parameters of actions which have a name containing uppercase characters are not automatically registered
Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
MVC
Target version:
Start date:
2009-05-27
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
Complexity:
Description
Automatic parameter registration works for the regular CRUD actions:
public function createAction($myParameter)
but doesn't work if there's an uppercase character in the action name:
public function createFooAction($myParameter) public function createMyBarAction($myParameter)
This is due to case conversion problems in the Action Controller and finally fails in this line:
protected function initializeActionMethodArguments() { $methodParameters = $this->reflectionService->getMethodParameters(get_class($this), $this->actionMethodName);
because $this->actionName contains for example "createmybarAction"