Skip to content

Commit e7cf907

Browse files
committed
Only set state "WG Document" on revision 00 documents, fixes problem
with overwriting manually set WG states when a new version is submitted. Fixes ietf-tools#797. - Legacy-Id: 4074
1 parent 041858d commit e7cf907

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def perform_postREDESIGN(request, submission):
132132
draft.save()
133133

134134
draft.set_state(State.objects.get(type="draft", slug="active"))
135-
if draft.stream_id == "ietf" and draft.group.type_id == "wg":
135+
if draft.stream_id == "ietf" and draft.group.type_id == "wg" and draft.rev == "00":
136136
# automatically set state "WG Document"
137137
draft.set_state(State.objects.get(type="draft-stream-%s" % draft.stream_id, slug="wg-doc"))
138138

0 commit comments

Comments
 (0)