Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#12570 closed enhancement (fixed)

Be subclass of ConfigurableTicketWorkflow instead of Component class

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: MultipleWorkflowPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

By subcclassing from ConfigurableTicketWorkflow a lot of code may be removed which is identical with code in Trac. The plugin will automatically benefit from future Trac bugfixes.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by Cinc-th

In 15044:

Use ConfigurableTicketWorkflow as parent of plugin to remove some duplicate code.

Refs #12570

comment:2 Changed 9 years ago by Cinc-th

In 15137:

  • Let parent calculate default ticket actions only once instead of calculating them again and again when using.
  • Calculate actions for ticket types only once
  • Bump version to 1.3.1

Refs #12570

comment:3 Changed 9 years ago by Cinc-th

Resolution: fixed
Status: newclosed

comment:4 Changed 8 years ago by Ryan J Ollos

In 16593:

MultipleWorkflowPlugin 1.3.3: Fix regression in r15137

get_workflow_config_default was removed without
replacing all uses.

Tidy up codebase and require Trac >= 1.0.

Refs #12570, Fixes #12665.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
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.