# HG changeset patch # User Julien Cristau # Date 1421402222 -3600 # Node ID ff93dad2ae3ab2a91433acaf625abeb35edcf7e8 # Parent 116b24efad0e4e4d6407be8c73e53b2374687ed2 [undo] fix deletion of cw_source relation Closes #4912882 diff -r 116b24efad0e -r ff93dad2ae3a server/sources/native.py --- a/server/sources/native.py Thu Jan 15 15:45:09 2015 +0100 +++ b/server/sources/native.py Fri Jan 16 10:57:02 2015 +0100 @@ -1230,7 +1230,7 @@ # unvisible as transaction action self.doexec(cnx, 'DELETE FROM is_relation WHERE eid_from=%s' % eid) self.doexec(cnx, 'DELETE FROM is_instance_of_relation WHERE eid_from=%s' % eid) - self.doexec(cnx, 'DELETE FROM cw_source_relation WHERE eid_from=%s' % self.eid) + self.doexec(cnx, 'DELETE FROM cw_source_relation WHERE eid_from=%s' % eid) # XXX check removal of inlined relation? # delete the entity attrs = {'cw_eid': eid}