You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and want to get variables from this context with strict checking (should throw an exception, if the variable does not exist), it throws an exception correctly for $context->get('bogusvariable', true), but not for $context->get('person.city', true).
From looking at the code, I found out that for nested variables the check for $strict is missing in Context::findVariableInContext.
Linked pull request fixes this issue.
The text was updated successfully, but these errors were encountered:
When I have the following nested context:
and want to get variables from this context with strict checking (should throw an exception, if the variable does not exist), it throws an exception correctly for
$context->get('bogusvariable', true)
, but not for$context->get('person.city', true)
.From looking at the code, I found out that for nested variables the check for $strict is missing in
Context::findVariableInContext
.Linked pull request fixes this issue.
The text was updated successfully, but these errors were encountered: