Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

#12823 closed defect (fixed)

Workflow hint added for <none> -> * transition

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.2
Component: ticket system Version:
Severity: normal Keywords: workflow
Cc: Branch:
Release Notes:

Workflow hint is not added in transition to *, which restores the behavior prior to Trac 1.2. The behavior is utilized by the AdvancedTicketWorkflowPlugin's triage operation.

API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Prior to r13452 a workflow hint was not added for the AdvancedTicketWorkflowPlugin's triage operation:

create = <none> -> *
create.operations = triage
create.triage_field = type
create.triage_split = defect -> new_defect, task -> new_task, enhancement -> new_enhancement

I guess that TicketWorkflowOpTriage was using the transition to * as a trick to avoid adding the hint The status will be '*'. Following the change the hint is added, which results in the illogical:

Attachments (1)

Screen Shot 2017-05-25 at 23.32.40.png (21.1 KB ) - added by Ryan J Ollos 8 years ago.

Download all attachments as: .zip

Change History (3)

by Ryan J Ollos, 8 years ago

comment:1 by Ryan J Ollos, 8 years ago

Description: modified (diff)

Proposed fix in [a90b6a115/rjollos.git]. I'll add a test before committing.

comment:2 by Ryan J Ollos, 8 years ago

Component: generalticket system
Keywords: workflow added
Milestone: 1.2.31.2.2
Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to 1.2-stable in r15961, merged to trunk in r15962.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.