Ticket #2582 (closed defect: duplicate)
Duplication of ticket notification caused by unassigned value
| Reported by: | sarahg@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In certain situations we've been getting duplicate emails. I think I finally narrowed it down:
"row" is not defined in the code here, its still got a carry-on value from a previous definition:
# Harvest email addresses from the author field of ticket_change(s)
if notify_reporter:
cursor.execute("SELECT DISTINCT author,ticket FROM ticket_change "
"WHERE ticket=%s", (tktid,))
for author,ticket in cursor:
recipients.append(row[0])
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


