ExpressionLanguage: Variable values have to be passed to the parser #4578
Labels
actionable
Clear and specific issues ready for anyone to take them.
bug
ExpressionLanguage
good first issue
Ideal for your first contribution! (some Symfony experience may be required)
When an expression is parsed using the
ExpressionLanguage::parse()
method, you will have to pass the actual variable values (see symfony/symfony#12800). This means that you have to pass an empty array when the expression doesn't contain any variables. This is currently wrong at least in the examples shown on http://symfony.com/doc/2.5/components/expression_language/caching.html#using-parsed-and-serialized-expressions.The text was updated successfully, but these errors were encountered: