Fix bug in users view when person field not present
This commit is contained in:
		
							parent
							
								
									f2a60f683c
								
							
						
					
					
						commit
						2c2df9f01e
					
				
					 1 changed files with 15 additions and 14 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar