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
An exception 'Unable to call method of a non-object.' is thrown by Symfony\Component\ExpressionLanguage\Node\GetAttrNode when using this keyword in an Expression constraint when embeded in AtLeastOneOf
How to reproduce
When validating an entity with this kind of constraint:
Since the AtLeastOneOfValidator validates the sub-constraint without context, $variables['this'] = $this->context->getObject(); in Symfony\Component\Validator\Constraints\ExpressionValidator results in a null value