cubicweb #6381577 uncaught IntegrityError [open]

File "/home/aurelien/confs/workertest/cubicweb/server/sources/native.py", line 673, in _add_relations
self.doexecmany(cnx, statement, attrs)
File "/home/aurelien/confs/workertest/cubicweb/server/sources/native.py", line 752, in doexecmany
cursor.executemany(str(query), args)
IntegrityError: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « in_state_relation_p_key »
DETAIL: La clé « (eid_from, eid_to)=(2311, 894) » existe déjà.

I suspect we'd want it wrapped into a ValidationError.

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