Bug #3488
Parameters of actions which have a name containing uppercase characters are not automatically registered
| Status: | Resolved | Start date: | 2009-05-27 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assigned To: | - | % Done: | 100% |
|
| Category: | MVC | |||
| Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 1 | |||
| PHP Version: | Complexity: | |||
| Has patch: | Affected Flow version: |
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
- FLOW3: (MVC) Mixed case action names are now supported. Fixes #3488
History
#1 Updated by Robert Lemke about 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2422.