-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Properly set AD as action holder when submitting to IESG for publication #6854
Conversation
…lication (ietf-tools#5227) The clear intent of `to_iesg` is that a) the document AD should be the group AD, if not already set, and b) the document Action Holder should be the document AD; but there was an order-of-operation error, such that the Action Holder remained empty.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6854 +/- ##
==========================================
+ Coverage 88.78% 88.79% +0.01%
==========================================
Files 285 285
Lines 40324 40374 +50
==========================================
+ Hits 35800 35852 +52
+ Misses 4524 4522 -2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small adjustment requested.
…ues into the parent scope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more nit:
ietf/doc/views_draft.py
Outdated
e = DocEvent(type=type, by=by, doc=doc, rev=doc.rev, desc=desc) | ||
e.save() | ||
return e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e = DocEvent(type=type, by=by, doc=doc, rev=doc.rev, desc=desc) | |
e.save() | |
return e | |
return DocEvent.objects.create(type=type, by=by, doc=doc, rev=doc.rev, desc=desc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or
return doc.docevent_set.create(type=type, by=by, rev=doc.rev, desc=desc)
Fixes #5227
The clear intent of
to_iesg
is thata) the document AD should be the group AD, if not already set, and b) the document Action Holder should be the document AD; but there was an order-of-operation error,
such that the Action Holder remained empty.