Bug #6298

action gets converted to lowercase

Added by Falk Kühnel over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-02-01
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch: Affected Flow version:

Description

If i recall correctly, this was done to somehow get teh dispatcher to ignore cases for actions.

I am trying to use Fluid with an explicitly called action like this in 4.3:
$view->render('someName');
This makes Fluid look for a file called 'somename', which in my oppinion should not be.

TemplateView.php:

protected function resolveTemplatePathAndFilename($actionName = NULL) {
...
   $actionName = ($actionName !== NULL ? $actionName : $this->controllerContext->getRequest()->getControllerActionName());
   $actionName = strtolower($actionName);
...
}

This is not the right place to do this. this should be done somewhere, in getControllerActionName.
Partials dont get converted to lowercase names btw.


Related issues

duplicates TYPO3.Fluid - Task #7243: let's use UpperCamelCase filenames for templates as well Resolved 2010-04-13 2010-06-18

History

#1 Updated by Sebastian Kurfuerst about 5 years ago

  • Status changed from New to Resolved

is duplicate of #7243.

Also available in: Atom PDF