From 682cbe6e2140660d8e2a4a4fbe007204359a2f33 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 27 Feb 2017 22:00:08 +0000 Subject: [PATCH] Fix family merge bug References do not need to be updated in people that have been removed in the merge. --- gramps/gen/merge/mergefamilyquery.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/merge/mergefamilyquery.py b/gramps/gen/merge/mergefamilyquery.py index 2ac2a8c16..bf5bb7355 100644 --- a/gramps/gen/merge/mergefamilyquery.py +++ b/gramps/gen/merge/mergefamilyquery.py @@ -188,6 +188,8 @@ class MergeFamilyQuery: # replace the family in lds ordinances for (dummy, person_handle) in self.database.find_backlink_handles( old_handle, ['Person']): + if person_handle in (self.titanic_fh, self.titanic_mh): + continue person = self.database.get_person_from_handle(person_handle) person.replace_handle_reference('Family', old_handle,new_handle) self.database.commit_person(person, trans)