cubicweb #1695 keep bad session data when trying to add an already existing relation [open]

I've tried to add via the web form a relation which was actually already there, so I got a "duplicate key violates blablabla" error. Fine.

But after that I get the same error when I try to add another, unrelated, entity (of the same type).

To fix this I had to reopen a fresh session.

priorityminor
typebug
done in<not specified>
load0.500
load left0.500
closed by<not specified>