Skip to content

Commit 6e5e50c

Browse files
committed
Added an error message for missing email in extracted author information during automated draft submission.
- Legacy-Id: 14743
1 parent df5c3af commit 6e5e50c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ietf/submit/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ def err(code, text):
100100
return err(404, "No person with username %s" % username)
101101

102102
authors, abstract, file_name, file_size = get_draft_meta(form)
103+
for a in authors:
104+
if not a['email']:
105+
raise ValidationError("Missing email address for author %s" % a)
103106

104107
submission = get_submission(form)
105108
fill_in_submission(form, submission, authors, abstract, file_size)

0 commit comments

Comments
 (0)