ietf-tools / datatracker

The day-to-day front-end to the IETF database for people who work on IETF standards.
https://datatracker.ietf.org
BSD 3-Clause "New" or "Revised" License
607 stars 372 forks source link

Add more information to revision validation error (was Cannot submit a new version of an expired draft) #3311

Open ietf-svn-bot opened 3 years ago

ietf-svn-bot commented 3 years ago

type_defect | by paul.hoffman@icann.org


I want to update draft-ietf-dnsop-rfc8499bis, which is expired. According to https://datatracker.ietf.org/doc/draft-ietf-dnsop-rfc8499bis/, the last version as -01. I am submitting a new version that is numbered -02. However, after I submit the text file, I get the error: Invalid revision (revision 10 is expected)


Issue migrated from trac:3311 at 2022-03-04 08:43:30 +0000

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com _changed status from new to under_review_

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com commented


This turned out to be an attempt to submit against the wrong draft (which was at -09). Paul suggests it would help future submitters figure out what happened if we changed

            return 'Invalid revision (revision %02d is expected)' % expected

to

            return 'Invalid revision (revision %s-%02d is expected)' % (name,expected)
ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed priority from n/a to minor

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed component from drafts/ to submit/

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed title from Cannot submit a new version of an expired draft to Add more information to revision validation error (was Cannot submit a new version of an expired draft)