Closed Bug 577037 Opened 15 years ago Closed 15 years ago

convert-workflow causes IN_PROGRESS to have a lower sortkey than CONFIRMED

Categories

(Bugzilla :: Installation & Upgrading, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file)

Bugs will default to IN_PROGRESS instead of CONFIRMED, on enter_bug.cgi, if you used convert-workflow, because REOPENED gets renamed to CONFIRMED before NEW gets renamed to CONFIRMED. So basically, CONFIRMED has all the properties of REOPENED instead of the properties of NEW.
Flags: blocking4.0+
Attached patch v1Splinter Review
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #456130 - Flags: review?(LpSolit)
Comment on attachment 456130 [details] [diff] [review] v1 >+my @translation = ( >+ [NEW => 'CONFIRMED'], >+ [ASSIGNED => 'IN_PROGRESS'], >+ [REOPENED => 'CONFIRMED'], >+ [CLOSED => 'VERIFIED'], > ); I know Perl treats => as commas, but this would IMO be less confusing as ['NEW', 'CONFIRMED'], ['ASSIGNED', 'IN_PROGRESS'], etc... Otherwise looks good. r=LpSolit
Attachment #456130 - Flags: review?(LpSolit) → review+
Flags: approval+
Thanks. :-) I thought the "action" of @translations was clearer with the =>.
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified contrib/convert-workflow.pl Committed revision 7282.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: