Fix bug in users view when person field not present
This commit is contained in:
parent
f2a60f683c
commit
2c2df9f01e
|
@ -142,6 +142,7 @@ class UsersView(PrincipalMasterView):
|
|||
# person
|
||||
f.set_renderer('person', self.render_person)
|
||||
if self.creating or self.editing:
|
||||
if 'person' in f.fields:
|
||||
f.replace('person', 'person_uuid')
|
||||
f.set_node('person_uuid', colander.String(), missing=colander.null)
|
||||
person_display = ""
|
||||
|
|
Loading…
Reference in a new issue