Skip to content

Commit 3214714

Browse files
committed
Fix for issue 351, from olau@iola.dk. Now permits editing of document state without getting a 500 error.
- Legacy-Id: 2448
1 parent 7cc99b0 commit 3214714

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/idrfc/views_edit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ def edit_info(request, name):
214214
# Django barfs in the diff below because these fields
215215
# can't be NULL
216216
doc.idinternal.job_owner = r['job_owner']
217-
doc.idinternal.area_acronym = r['area_acronym']
217+
if 'area_acronym' in r:
218+
doc.idinternal.area_acronym = r['area_acronym']
218219

219220
replaces = doc.replaces_set.all()
220221
if replaces:

0 commit comments

Comments
 (0)