Edgewall Software

Opened 7 years ago

Closed 7 years ago

#12823 closed defect (fixed)

Workflow hint added for <none> -> * transition — at Version 2

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:

Change History (3)

by Ryan J Ollos, 7 years ago

comment:1 by Ryan J Ollos, 7 years ago

Description: modified (diff)

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

comment:2 by Ryan J Ollos, 7 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.

Note: See TracTickets for help on using tickets.