Project

General

Profile

Actions

Task #80381

closed

Show template/partial name when an exception occurs with Fluid

Added by Xavier Perseguers over 7 years ago. Updated over 6 years ago.

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

0%

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

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:

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.


Files

TemplateParser.png (202 KB) TemplateParser.png Xavier Perseguers, 2017-03-21 16:52
Actions

Also available in: Atom PDF