Opened 2 years ago
Last modified 9 months ago
#8647 new defect
Ticket without cc field makes notification failed
| Reported by: | guillaume.mella@… | Owned by: | jeangui |
|---|---|---|---|
| Priority: | low | Component: | DefaultCcPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description (last modified by rjollos)
Hello,
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 ticket['cc'] 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!
--
Guillaume
Attachments (0)
Change History (3)
comment:1 Changed 11 months ago by rjollos
- Description modified (diff)
comment:2 Changed 11 months ago by rjollos
comment:3 Changed 9 months ago by rjollos
This is similar to #5894. I need to investigate further because I'm probably not understanding how default values are set when tickets are created across interfaces such as email2trac.


This rather seems like the fault of email2trac for sending None for the CC field rather than an empty string.