Ticket #8647 (new defect)

Opened 2 years ago

Last modified 8 months ago

Ticket without cc field makes notification failed

Reported by: guillaume.mella@obs.ujf-grenoble.fr Assigned to: 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

Change History

07/17/12 23:48:43 changed by rjollos

  • description changed.

07/18/12 00:28:37 changed by rjollos

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

09/17/12 18:49:19 changed 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.


Add/Change #8647 (Ticket without cc field makes notification failed)




Change Properties
Action