Are you sure that the entry for the RelationsChangeLog is for the "add"
and not for the "remove"?
Because what should happen is that the second line (the remove) would
replace the add. The result that you're saying that you get should
result only if the two lines are swapped.
--
João Cachopo
>
> doInTxn {
> obj1.addNtoNRelation(obj2)
> obj1.removeNtoNRelation(obj2)
> }
> => RelationsChangeLog has an entry only for the "add"
Are you sure that the entry for the RelationsChangeLog is for the "add"
and not for the "remove"?
Because what should happen is that the second line (the remove) would
replace the add. The result that you're saying that you get should
result only if the two lines are swapped.
> Just double-checked and it is indeed an "add" entry. The remove
> boolean is set to false.
Yes, meanwhile I was testing it myself and I found out the problem.
I've already committed the fix.
Thanks, Damián.
--
João Cachopo