From 8f69b07ee2085287697d61e87bfe4a9fb2aabae2 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 4 Feb 2021 16:44:40 -0600 Subject: [PATCH] Fix bug when editing a Person --- tailbone/views/people.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/people.py b/tailbone/views/people.py index de970119..6e72fe1f 100644 --- a/tailbone/views/people.py +++ b/tailbone/views/people.py @@ -180,7 +180,7 @@ class PersonView(MasterView): names['middle'] = data['middle_name'] if 'last_name' in form: names['last'] = data['last_name'] - if 'display_name' in form: + if 'display_name' in form and 'display_name' not in form.readonly_fields: names['full'] = data['display_name'] # TODO: why do we find colander.null values in data at this point?