Ticket without cc field makes notification failed
|Reported by:||guillaume.mella@…||Owned by:||jeangui|
I tried to install defaultCC plugin onto one trac config(0.12) which was using email2trac(1.6.0 or 2.0.2). Then the tickets submited from emails didn't get notified to the owner and default cc list was not added to the cc list.
In this configuration, the ticketcc? was empty. Then I just added two new lines in the main.py/ticket_created method so the cc field get inited:
if ticket['cc']: ticket['cc'] += ', ' else: ticket['cc'] = ''
Hope it helps...
Thanks to all trac contributors!