Project

General

Profile

Actions

Bug #82407

closed

Regression in templatePath resolving

Added by Rens Admiraal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-09-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Is duplicate of TYPO3 Core - Task #82347: [BUGFIX] Fix certain fluid template overwrites (like PaginateViewHelper)Closed2017-09-07

Actions
Is duplicate of TYPO3 Core - Bug #82344: Can't overwrite PaginateViewHelper template anymore since 8.7.5Closed2017-09-07

Actions
Actions #1

Updated by Wouter Wolters over 6 years ago

  • Is duplicate of Task #82347: [BUGFIX] Fix certain fluid template overwrites (like PaginateViewHelper) added
Actions #2

Updated by Wouter Wolters over 6 years ago

  • Is duplicate of Bug #82344: Can't overwrite PaginateViewHelper template anymore since 8.7.5 added
Actions #3

Updated by Wouter Wolters over 6 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.

Actions

Also available in: Atom PDF