Changes between Initial Version and Version 1 of Ticket #13263, comment 1


Ignore:
Timestamp:
Aug 29, 2017, 3:29:14 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13263, comment 1

    initial v1  
    11What seems to work is, in ticket.py change
    2 
    3                 tn = TicketNotifyEmail(self.env)[[BR]]
     2{{{#!python
     3                tn = TicketNotifyEmail(self.env)
    44                tn.notify(t, newticket=False, modtime=when)
     5}}}
    56
    67to
    7 
    8                 event = TicketChangeEvent( 'changed', t, when, author, comment )[[BR]]
     8{{{#!python
     9                event = TicketChangeEvent( 'changed', t, when, author, comment )
    910                NotificationSystem( self.env ).notify( event )
     11}}}
    1012
    1113I haven't attempted to do the same for create (I've only tried it for update) and I haven't looked at whether there are any unit tests covering this area.