Task #106372
closedImprove error message when a PAGEVIEW template is not found.
100%
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
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
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
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
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
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
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
Updated by Lina Wolf about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0b2760b2ed11fdb0451427ae0ac3ace122d68347.
Updated by Garvin Hicking 17 days ago
- Related to Bug #106543: Wrong Fluid exception message on missing template since v13.4.9 added
Updated by Garvin Hicking 17 days ago
- Related to Bug #106545: PAGEVIEW hides cause of exceptions added