Bug #3488

Parameters of actions which have a name containing uppercase characters are not automatically registered

Added by Robert Lemke about 10 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
MVC
Start date:
2009-05-27
Due date:
% Done:

100%

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"

Associated revisions

Revision 3f83bfc3 (diff)
Added by Robert Lemke about 10 years ago

  • FLOW3: (MVC) Mixed case action names are now supported. Fixes #3488

History

#1 Updated by Robert Lemke about 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2422.

Also available in: Atom PDF