Modify

Opened 5 years ago

Closed 5 years ago

#9494 closed defect (fixed)

Operations from other plugins are not recognized/added

Reported by: anonymous Owned by: Jun Omae
Priority: normal Component: TracWorkflowAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I have just installed AdvancedTicketWorkflowPlugin at my site, which adds a number of useful operations that the TracWorkflowAdminPlugin apparently does not detect.

  • The operations from AdvancedTicketWorkflowPlugin are not shown/selectable in the GUI
  • When I edit trac.ini typing the new operation (e.g., set_owner_to_reporter), the plugin stops rendering the graph complaining Line 7: Unknown operator.

It seems like the list of know operations is hard-coded into the plugin and are not retrieved from the framework.

My current work-around is to

  • manually add all new operations to web_ui.py
  • commenting out the test complaining about 'unknown operations'

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 years ago by Jun Omae

Resolution: fixed
Status: newclosed

Now, using [workflow-admin] operations settings can customize operations list. You can use it.

Thanks.

Modify Ticket

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