user9073987
user9073987

Reputation:

How can you debug / track down problems in Fluid?

I made an error when using a ViewHelper with an unsupported argument and my Fluid Partial wasn't rendered at all.

How can I debug / track down problems like these? Usually I would expect an exception to be thrown. I enabled debug preset and there is nothing in the sys_log, no error message is displayed.

Is there some setting I can use to cause error messages to be created or more information to get logged?

Reproduce

Use Fluid ViewHelper with unsupported argument (here, name is not a supported argument):

<f:uri.external name="something" uri="https://typo3.org">f.uri.external</f:uri.external>

Result

The Fluid Partial is not displayed at all.

Upvotes: 2

Views: 402

Answers (1)

Minston
Minston

Reputation: 11

most of the time I'm using to check do I even get wanted values before:

<f:debug>{_all}</f:debug>

or

<f:debug>{variable}</f:debug>

Upvotes: 1

Related Questions