Modify

Opened 8 years ago

Closed 8 years ago

#13106 closed enhancement (fixed)

MultipleWorkflowPlugin for Trac 1.2

Reported by: Miklos Molnar Owned by: Ryan J Ollos
Priority: normal Component: MultipleWorkflowPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

I have modified the source to have a version of MultipleWorkflowPlugin compatible with Trac 1.2. I have also introduced the dynamic refreshing of available actions based on ticket type. Feel free to adopt it if you find it useful.

You can find the patch attached to the ticket.

Attachments (1)

port_to_1.2.diff (27.3 KB) - added by Miklos Molnar 8 years ago.
Patch for porting MultipleWorkflowPlugin for Trac 1.2

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Miklos Molnar

Attachment: port_to_1.2.diff added

Patch for porting MultipleWorkflowPlugin for Trac 1.2

comment:1 Changed 8 years ago by Jun Omae

Keywords: Porting 1.2 removed

comment:2 Changed 8 years ago by Ryan J Ollos

Owner: changed from Cinc-th to Ryan J Ollos
Status: newaccepted

comment:3 Changed 8 years ago by Ryan J Ollos

In 16597:

Create branch for Trac 1.0.x-compatible plugin

The trunk will be compatible with Trac 1.2.x

Refs #13106.

comment:4 Changed 8 years ago by Ryan J Ollos

The plugin has some problems:

  • Not all actions available on the batch modify page.
  • Transitions between ticket types are not well-defined. The ticket can end-up in a stuck in a state if the type is changed.

I'd like to integrate something like this into Trac, but there is a lot of work needed to make that happen.

comment:5 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16598:

MultipleWorkflowPlugin 1.4.0dev: Make compatible with Trac 1.2+

  • Simplify plugin design by using inheritance
  • Dynamiclaly refresh the available actions

Initial patch by Miklos Molnar.

Fixes #13106.

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'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.