Issue Task Closed

#80381Show template/partial name when an exception occurs with Fluid

Xavier Perseguers 03/21/17, 16:52 updated 07/17/18, 23:17

Description

I have following exception in frontend while upgrading a website initially done for TYPO3 v6 to v8:

Oops, an error occurred!
Undeclared arguments passed to ViewHelper FluidTYPO3\Vhs\ViewHelpers\IfViewHelper: then, else

Exception is thrown from \TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper::validateAdditionalArguments.

Here’s the StackTrace:

TemplateParser.png

It would be very useful to have additional information with the culprit template/partial file.

In this example this is not the actual name in the filesystem (which would be even better) but at least this parsed file with checksum gives a hint of where to look for the problem.

Reviews 0

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