cubicweb #2557048 crash while going to edition form [open]

File "/home/auc/confs/elea/cubicweb/entity.py", line 1179, in unrelated
ordermethod, lt_infos=lt_infos)
File "/home/auc/confs/elea/cubicweb/entity.py", line 1151, in cw_unrelated_rql
args, existant)
File "/home/auc/confs/elea/cubicweb/rqlrewrite.py", line 200, in rewrite
newsolutions = self.remove_ambiguities(snippets, newsolutions)
File "/home/auc/confs/elea/cubicweb/rqlrewrite.py", line 462, in remove_ambiguities
varname = self.rewritten[key]
KeyError: (<RQLConstraint(DISTINCT Any O,S WHERE NOT EXISTS(PD parameter_of O, NOT EXISTS(PV param_def PD, S param_values PV))) @0x373be50>, (('O', 'O'), ('S', 'S')), 'PV')

prioritynormal
typebug
done in<not specified>
closed by<not specified>