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:
Paul Culley 2019-03-16 22:12:11 -05:00 committed by Sam Manzi
parent 51f44c2fd7
commit bf4b3962bc

View File

@ -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