Modify ↓
Opened 8 years ago
Closed 8 years ago
#13167 closed defect (worksforme)
Error when added to workflow
Reported by: | anonymous | Owned by: | ejucovy |
---|---|---|---|
Priority: | normal | Component: | WorkflowNotificationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description (last modified by )
When I add TicketWorkflowNotifier to the workflow i get the following error accessing any page on my trac project.
Cannot find implementation(s) of the ITicketActionController interface named TicketWorkflowNotifier. Please check that the Component is enabled or update the option [ticket] workflow in trac.ini.
I read through the bug list and saw where someone got similar issues, but the difference is that I have modified the workflow from the original options. But here is the only ticket-workflow-notifications section entry I have:
[ticket-workflow-notifications] owner_changed = * owner_changed.body = Ticket owner changed by ${change.author}: ${change.comment}\n\n{% for field in old_ticket %}{% if old_ticket[field] != ticket[field] %}\n${field} changed: ${old_ticket[field]} => ${ticket[field]}{% end %}{% end %} owner_changed.recipients = ${ticket.owner} owner_changed.subject = You are now the owner of ticket ${ticket.id}! owner_changed.condition = ${old_ticket.owner != ticket.owner}
Attachments (0)
Change History (4)
comment:1 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
It works for me. If you still have trouble after comment:2, please check the logs.
You'll probably at least need to modify your condition
to avoid errors when creating tickets:
owner_changed.condition = ${old_ticket.get('owner') != ticket.owner}
comment:4 Changed 8 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to no response. Please reopen or ask on the trac:MailingList if you need more help.
Note: See
TracTickets for help on using
tickets.
Did you remember to enable the plugin's components, too? You'll need a line like this in your
conf/trac.ini
--