Claus Due wrote:
Can you add a bit more information - for example:
Sorry for not supplying with much data on the issue.
I was also a bit too quick to blame the shift from typo3fluid/fluid 2.6.1 to 2.6.2, as downgrading does not seem to fix anything.
Also, I'm not sure at what point it stopped working, or if it have been working at all then.
The thing I can conclude though, is that it still doesn't work as I expect.
- What is the template code?
- What are the variables involved with the expression?
- What is the context (inside or outside ViewHelper arguments)?
Instead of showing my code, just trying out the example from usetypo3.com also demonstrates the problem on my installation
<f:variable name="variableToCheck" value="0" />
<f:variable name="option1" value="Option one" />
<f:variable name="option2" value="Option two" />
One of two options: {variableToCheck ? option1 : option2}<br/>
Fallback if variable not set: {option1 ? option1 : option2}<br/>
This should output:
One of two options: Option two
Fallback if variable not set: Option one
But instead it outputs:
One of two options: Option one
Fallback if variable not set: Option one
- What is your PHP version?
Local: PHP 7.2.1 (MAMP)
Server: PHP 7.2.22