Bug #6298
action gets converted to lowercase
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
History
#1 Updated by Sebastian Kurfuerst about 5 years ago
- Status changed from New to Resolved
is duplicate of #7243.