Edgewall Software

Ticket #2582 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

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

Changed 3 years ago by anonymous

  • summary changed from Ticket duplication caused by unassigned value to Duplication of ticket notification caused by unassigned value

Changed 3 years ago by sarahg@…

This bug is at line 289 in Notify.py revision 2721. I thought I should specify since there's similar chunks of code nearby.

Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to duplicate

This is the same issue as #2408 which has been fixed.

Add/Change #2582 (Duplication of ticket notification caused by unassigned value)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.