Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8186 closed defect (worksforme)

ticket.status variable not available in email notifications

Reported by: pacome.massol@… Owned by: Emmanuel Blot
Priority: normal Milestone:
Component: notification Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

with 0.10 we had a ticket.status available in email notifications. If I try to use this variable with 0.11.1, no email is sent. This variable is really useful to customize notifications.

Attachments (0)

Change History (7)

comment:1 by Christian Boos, 16 years ago

Milestone: 0.11.6

Right, we used to pass everything to the template:

  self.hdf.set_unescaped('ticket', self.ticket.values)

comment:2 by anonymous, 16 years ago

Thank you. 0.11.6 is planned in 9 months. Until this version, is there a workaround for 0.11.1 ?

comment:3 by Christian Boos, 16 years ago

Well, if someone feels like fixing it earlier, we can always move the ticket to an earlier milestone.

In general, tickets scheduled for 0.11.5 are those we really want to fix for the next maintenance release, even if there's no patch provided. OTOH, tickets scheduled for 0.11.6 just mean "for a later maintenance release". So you don't even have a guarantee this will happen in 9 months…

comment:4 by anonymous, 16 years ago

what would be the equivalent code to pass it to the templates now? or this does not make sense any more?

comment:5 by Christian Boos, 16 years ago

Hm, sorry, I didn't read the code carefully enough, that ticket variable should actually contain all the values from the real Ticket instance, so it should already work…

But the basic problem remains the same - if you really care about the problem, you should also consider spending some time investigating and debugging the issue yourself and contribute the result back in form of a patch. Otherwise, thanks for the report and someone else may have a look, when time permits (I haven't use notifications myself since a while and don't have the appropriate setup for testing, otherwise yes, I would probably have checked and fixed the problem already).

comment:6 by anonymous, 16 years ago

Resolution: worksforme
Status: newclosed

Sorry, it's working fine. I was confused by some strange problems with my mail system.

comment:7 by Remy Blank, 16 years ago

Milestone: 0.11.6

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.