Modify

Opened 13 years ago

Closed 7 years ago

#8647 closed defect (wontfix)

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 Ryan J Ollos)

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 (4)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 12 years ago by Ryan J Ollos

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

comment:3 Changed 12 years ago by Ryan J Ollos

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.

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Closing since the plugin won't be developed further.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jeangui.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.