#81530Condition evaluation for <f:if> viewhelper fails in inline notation
Description
In Fluid 8.7.0, checking if a DateTime property of an object is set, throws an exception if used in the inline notation. One should expect identical output for the following two cases:
<f:if condition="{payment.paidDate}">
<f:then>set</f:then>
<f:else>not set</f:else>
</f:if>
{f:if(condition: ‘{payment.paidDate}’, then: ‘set’, else: ‘not set’)}The first version correctly evaluates, if the property is set or not.
The second version results in an uncaught TYPO3 exception:
htmlspecialchars() expects parameter 1 to be string, object given
This used to work in Fluid 6.2.0.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.