# HG changeset patch # User Julien Cristau # Date 1421402190 -3600 # Node ID 0ecd61f4bd3712c4031fd18ea6061c45d2a5ffad # Parent 737271ffe407216a197d63c7e1b464dbd718414e [undo] when we can't undo an inlined relation change, point at None, not a broken eid This whole thing is "a bit" weird. diff -r 737271ffe407 -r 0ecd61f4bd37 server/sources/native.py --- a/server/sources/native.py Thu Jan 15 19:17:32 2015 +0100 +++ b/server/sources/native.py Fri Jan 16 10:56:30 2015 +0100 @@ -1151,6 +1151,7 @@ err(cnx._("can't restore entity %(eid)s of type %(eschema)s, " "target of %(rtype)s (eid %(value)s) does not exist any longer") % locals()) + changes[column] = None elif eschema.destination(rtype) in ('Bytes', 'Password'): changes[column] = self._binary(value) edited[rtype] = Binary(value)