Fix GEDCOM import when family is missing; import created a missing note (#971)

Fixes #11472
This commit is contained in:
Paul Culley 2020-01-09 11:35:28 -06:00 committed by GitHub
parent 1a8406e2e4
commit ddb29b1628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3222,6 +3222,7 @@ class GedcomParser(UpdateCallback):
make_unknown(gramps_id, self.explanation.handle,
class_func, commit_func, self.trans,
db=self.dbase)
self.missing_references += 1
self.__add_msg(_("Error: %(msg)s '%(gramps_id)s'"
" (input as @%(xref)s@) not in input"
" GEDCOM. Record synthesised") %