diff --git a/ietf/secr/rolodex/views.py b/ietf/secr/rolodex/views.py index 03f8fc48a..be3cd5b02 100644 --- a/ietf/secr/rolodex/views.py +++ b/ietf/secr/rolodex/views.py @@ -86,7 +86,9 @@ def add_proceed(request): # save email Email.objects.create(address=email, - person=person) + person=person, + origin=request.user.username, + ) # in theory a user record could exist which wasn't associated with a Person try: diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py index 57420620b..d4e3746c7 100644 --- a/ietf/submit/tests.py +++ b/ietf/submit/tests.py @@ -324,7 +324,7 @@ class SubmitTests(TestCase): prev_author = draft.documentauthor_set.all()[0] if change_authors: # Make it such that one of the previous authors has an invalid email address - bogus_person, bogus_email = ensure_person_email_info_exists(u'Bogus Person',None) + bogus_person, bogus_email = ensure_person_email_info_exists(u'Bogus Person', None, draft.name) DocumentAuthor.objects.create(document=draft, person=bogus_person, email=bogus_email, order=draft.documentauthor_set.latest('order').order+1) # pretend IANA reviewed it