0006541: Gramps crashes during import gedcom. Ignore empty ALIA alias name.
svn: r22298
This commit is contained in:
parent
5999f7c0a1
commit
076fdac5a7
@ -3572,7 +3572,10 @@ class GedcomParser(UpdateCallback):
|
||||
@param state: The current state
|
||||
@type state: CurrentState
|
||||
"""
|
||||
if line.data[0] == '@':
|
||||
if line.data == '':
|
||||
self.__add_msg(_("Empty Alias <NAME PERSONAL> ignored"), line, state)
|
||||
self.__skip_subordinate_levels(state.level+1, state)
|
||||
elif line.data[0] == '@':
|
||||
handle = self.__find_person_handle(self.pid_map[line.data])
|
||||
ref = PersonRef()
|
||||
ref.ref = handle
|
||||
|
Loading…
Reference in New Issue
Block a user