Modify ↓
#6048 closed defect (fixed)
apply_action_side_effects not called unless changes made to a ticket.
Reported by: | Owned by: | Eli Carter | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Take the example: sample-plugins/workflow/DeleteTicket.py
It doesn't call apply_action_side_effects unless a change is made to the ticket. And when you want to delete a ticket, as in the example, it doesn't make sense to have to change the ticket first.
I believe trac/ticket/web_ui.py needs to be modified to always call apply_action_side_effects, regardless of if any real changes have been made to the ticket.
Attachments (1)
Change History (5)
by , 17 years ago
Attachment: | apply_action_side_effects.patch added |
---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It is supposed to call the side effects even if there are no changes to the ticket. Fixed in [6021].
Note:
See TracTickets
for help on using tickets.
Creds to osimons.
Maybe this patch to the sample could do the trick instead?