Bug #103774
closedErrormessage in PAGEVIEW requests template with lowercase first letter
100%
Description
Using the :typoscript:`PAGEVIEW` TypoScript element to display a content element:
.. code-block:: typoscript
:caption: EXT:my_sitepackage/Configuration/Sets/MySet/setup.typoscript
page = PAGE
page {
10 = PAGEVIEW
10 {
paths {
100 = EXT:site_package/Resources/Private/Templates/
}
// ...
}
}
There is a file called `EXT:site_package/Resources/Private/Templates/pages/default.html`.
I get the error message
Could not find template source for "pages/default". Configured templateRootPaths: /var/www/html/vendor/myvendor/site-package/Resources/Private/Templates/
This is due to the fact that the template name gets treated as 'action name' and is passed through ucfirst in TYPO3Fluid\Fluid\View\TemplatePaths::resolveTemplateFileForControllerAndActionAndFormat
Therefore we need to also ucfirst the template name in the error message