Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8580 closed defect (duplicate)

Tickets with multiple-owners do not get email notifications

Reported by: gmr@… Owned by: Emmanuel Blot
Priority: normal Milestone:
Component: notification Version: 0.11.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In trac/ticket/notification.py, Line 254:

http://trac.edgewall.org/browser/tags/trac-0.11.5/trac/ticket/notification.py#L253

If there are multiple ticket owners, the string is not split into a list and does not extend the torecipients list. Because of this, the owners of a ticket will not be notified of changes to the ticket. It is possible with custom workflows and custom fields to end up with multiple owners in a single ticket. This fix will not impact the basic workflow with a single ticket owner.

The fix for this is to replace line 254:

torecipients.append(row[2])

with

torecipients.extend(row[2] and row[2].replace(',', ' ').split())

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 15 years ago

Resolution: duplicate
Status: newclosed

I'm pretty sure this is a duplicate… Yes, #7793.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.