Bug #82407
closedRegression in templatePath resolving
0%
Description
It seems like https://review.typo3.org/#/c/53932/ introduced a regression in 8.7.6 which can possibly be fixed by getting the changes of https://review.typo3.org/#/c/53872 in.
What happens:
I render a typoscript object using:
<f:cObject typoscriptObjectPath="lib.myObject" />
The object looks like:
lib.myObject = USER
lib.myObject {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = Pi1
extensionName = Extension
vendorName = Vendor
controller = Controller
action = index
view {
layoutRootPaths.0 = EXT:extension/Resources/Private/Layouts/
partialRootPaths.0 = EXT:extension/Resources/Private/Partials/
templateRootPaths.0 = EXT:extension/Resources/Private/Templates/
}
}
This leads to No template was found. View could not be resolved for action "index"
I debugged this and it seems like inside \TYPO3\CMS\Fluid\View\TemplateView::canRender everything is still configured correctly, but then after the call to $this->setControllerContext($controllerContext); all paths are reset to the \TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_* constants.
Updated by Wouter Wolters about 7 years ago
- Is duplicate of Task #82347: [BUGFIX] Fix certain fluid template overwrites (like PaginateViewHelper) added
Updated by Wouter Wolters about 7 years ago
- Is duplicate of Bug #82344: Can't overwrite PaginateViewHelper template anymore since 8.7.5 added
Updated by Wouter Wolters about 7 years ago
- Status changed from New to Closed
Hey Rens, this is a known regression unfortunately. There are already some other forge tickets for this regression, so I'll close this one. People are working on a fix for this.