Fix HandleErrors related to LDS (#697)
* Fix ReferencedBySelection proxy for 'None' LDS Parents Fixes #10865 * Fix HandleError in Citations Gramplet for lds place missing
This commit is contained in:
parent
e0e19492cd
commit
b4e5bd9eb2
@ -427,6 +427,7 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
|||||||
def process_lds_ord(self, lds_ord):
|
def process_lds_ord(self, lds_ord):
|
||||||
""" Find all of the primary objects referred to """
|
""" Find all of the primary objects referred to """
|
||||||
fam_handle = lds_ord.get_family_handle()
|
fam_handle = lds_ord.get_family_handle()
|
||||||
|
if fam_handle:
|
||||||
fam = self.db.get_family_from_handle(fam_handle)
|
fam = self.db.get_family_from_handle(fam_handle)
|
||||||
if fam:
|
if fam:
|
||||||
self.queue_object("Family", fam_handle)
|
self.queue_object("Family", fam_handle)
|
||||||
|
@ -249,6 +249,7 @@ class Citations(Gramplet, DbGUIElement):
|
|||||||
if self.check_citations(lds):
|
if self.check_citations(lds):
|
||||||
return True
|
return True
|
||||||
place_handle = lds.get_place_handle()
|
place_handle = lds.get_place_handle()
|
||||||
|
if place_handle:
|
||||||
place = self.dbstate.db.get_place_from_handle(place_handle)
|
place = self.dbstate.db.get_place_from_handle(place_handle)
|
||||||
if place and self.check_place_citations(place):
|
if place and self.check_place_citations(place):
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user