Issue Bug Closed

#106660Wrong template missing exception shown in PAGEVIEW

Lina Wolf 05/07/25, 08:02 updated 05/07/25, 08:07

Description

In /var/www/html/vendor/typo3/cms-frontend/Classes/ContentObject/PageViewContentObject.php
The following exception is thrown:

PAGEVIEW TypoScript object: Failed to resolve the expected template file “Pages/Default.html” for layout “Default”. See also: https://docs.typo3.org/permalink/t3tsref:cobj-pageview@13.4. The following paths were checked: EXT:xxx/Resources/Private/PageView/Pages/Default.html

While the template exists. Debugging however shows that the underlying problem is not the Template but a Partial:

Tried resolving a template file for controller action “Default->Default” in format “.html”, but none of the paths contained the expected template file (/var/www/html/vendor/xxx/xxx/Resources/Private/FluidContent/Partials/TeaserBlock.html). No paths configured.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.