Skip to content

Commit 4695ec5

Browse files
committed
Restricted automatic IANA state change into 'Version Changed - Review Needed' on new draft revisions to events before document approval, based on conversation with Michelle.
- Legacy-Id: 14486
1 parent 7a0a990 commit 4695ec5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/submit/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def post_submission(request, submission, approvedDesc):
275275
draft.set_state(State.objects.get(used=True, type="draft-stream-%s" % draft.stream_id, slug="wg-doc"))
276276

277277
# automatic state changes for IANA review
278-
if draft.get_state_slug("draft-iana-review") in ("ok-act", "ok-noact", "not-ok"):
278+
if (draft.get_state_slug("draft-iana-review") in ("ok-act", "ok-noact", "not-ok")
279+
and not draft.get_state_slug("draft-iesg") in ("approved", "ann", "rfcqueue", "pub", "nopubadw", "nopubanw", "dead") ):
279280
prev_state = draft.get_state("draft-iana-review")
280281
next_state = State.objects.get(used=True, type="draft-iana-review", slug="changed")
281282
draft.set_state(next_state)

0 commit comments

Comments
 (0)