Fix relationshippathbetween filter rule when parent is missing (#792)
Fixes #11049 Another HandleError issue, this one hidden by the raw except. Filter rule just did not work if a family in the path had a missing parent.
This commit is contained in:
parent
51f44c2fd7
commit
bf4b3962bc
@ -75,6 +75,8 @@ class RelationshipPathBetween(Rule):
|
||||
self.desc_list(child_ref.ref, map, 0)
|
||||
|
||||
def apply_filter(self, rank, handle, plist, pmap):
|
||||
if not handle:
|
||||
return
|
||||
person = self.db.get_person_from_handle(handle)
|
||||
if person is None:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user