Opened 15 years ago
Closed 15 years ago
#8580 closed defect (duplicate)
Tickets with multiple-owners do not get email notifications
Reported by: | 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())
I'm pretty sure this is a duplicate… Yes, #7793.