Modify ↓
Opened 17 years ago
Closed 15 years ago
#3615 closed enhancement (fixed)
[Patch] Improvements for Xref action
| Reported by: | daniel | Owned by: | Eli Carter |
|---|---|---|---|
| Priority: | normal | Component: | AdvancedTicketWorkflowPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Daniel Atallah | Trac Release: | 0.11 |
Description (last modified by )
I've made some enhancements to the xref action including:
- Verification that the target ticket exists.
- Including the comment change on the local ticket with the original save (so it appears in the change email and doesn't corrupt the ticket cnums)
- Sending a change email for the target ticket.
Attachments (1)
Change History (7)
Changed 17 years ago by
| Attachment: | adv_ticket_workflow_xref_fixes.patch added |
|---|
comment:1 Changed 17 years ago by
| Cc: | Daniel Atallah added; anonymous removed |
|---|
comment:2 Changed 17 years ago by
comment:3 Changed 16 years ago by
chang the patch, by adding a second except clause.
try:
xticket = model.Ticket(self.env, ticketnum)
except ResourceNotFound, e:
#put in preview mode to prevent ticket being saved
req.args['preview'] = True
add_warning(req, "Unable to cross-reference Ticket #%s (%s)." % (ticketnum, e.message))
return {}
except ValueError, e:
#put in preview mode to prevent ticket being saved
req.args['preview'] = True
add_warning(req, "Unable to cross-reference Ticket #%s (%s).>%s< is not a number." % (ticketnum, e.message, ticketnum))
return {}
comment:4 Changed 16 years ago by
| Summary: | Improvements for Xref action → [Patch] Improvements for Xref action |
|---|
comment:6 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
While it breaks the intent of the customizable workflow interface, it does improve the behaviour. Modified version of the patch applied in [9958]. Thanks!
Note: See
TracTickets for help on using
tickets.



I'm facing the same problems.
I think we will try the patch.
Hope this will be included in a future release.