cubicweb #1816439 RQLConstraint does not take main variable "U" into account [resolved]

Thus, we get:

>>> from cubicweb.schema import RQLConstraint
>>> RQLConstraint('U identity O').full_rql
u'Any O,U WHERE U identity O, O eid %(o)s, U eid %(u)s'

but because of the way the "exec_query" method is implemented, the executed RQL query does not contain "U eid %(u)s" nor the RQL args the "u" value. This is why the above-mentionned RQL constraint does nothing (it never fails).

done in3.12.9
load left0.000
closed by#85ebdbbcb321 [schema] closes #1816439: RQLConstraint does not take variable U into account