Task #56237
in-line (Condition)ViewHelpers should not evaluate on parsing
Status: | New | Start date: | 2014-02-24 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Has patch: | No |
Description
constructions like these,
1{f:if(condition: anEntity, then: '{anEntity -> f:format.identifier()}')}
make the then-branch be evaluated, i.e. invoked, even if the condition evals to false. In most cases this is the exact thing which is intended to be cirumvented when wrapping a ViewHelper invocation in a f:if condition.