Project

General

Profile

Actions

Task #106372

closed

Improve error message when a PAGEVIEW template is not found.

Added by Lina Wolf about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
-
Start date:
2025-03-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
Sprint Focus:

Description

Currently an exception like the following is thrown:

TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException: Tried resolving a template file for controller action "Default->Pages/Standard" in format ".html", but none of the paths contained the expected template file (Default/Pages/Standard.html). The following paths were checked: /home/www/typo3/t3coredev/typo3temp/var/tests/functional-4db4d33/typo3conf/ext/test_fluidpagerendering/Resources/Private/Templates/Pages/

However the integrator using the PAGEVIEW TypoScript object is not using any controllers or actions. There is no information on where the error happened or how to configure it.

I would suggest to improve the exception message like this:
PAGEVIEW TypoScript object: Failed to resolve the expected template file "Pages/Standard.html" for layout "Standard". See also: https://docs.typo3.org/permalink/t3tsref:cobj-pageview@14.0. The following paths were checked: EXT:test_fluidpagerendering/Resources/Private/Templates/Pages/Pages/Standard.html


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #106543: Wrong Fluid exception message on missing template since v13.4.9Resolved2025-04-10

Actions
Related to TYPO3 Core - Bug #106545: PAGEVIEW hides cause of exceptionsResolved2025-04-10

Actions
Actions #1

Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88597

Actions #2

Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88597

Actions #3

Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88597

Actions #4

Updated by Gerrit Code Review about 1 month ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88597

Actions #5

Updated by Gerrit Code Review about 1 month ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88597

Actions #6

Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88709

Actions #7

Updated by Lina Wolf about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Garvin Hicking 17 days ago

  • Related to Bug #106543: Wrong Fluid exception message on missing template since v13.4.9 added
Actions #9

Updated by Garvin Hicking 17 days ago

  • Related to Bug #106545: PAGEVIEW hides cause of exceptions added
Actions

Also available in: Atom PDF