Edgewall Software
Modify

Ticket #2582 (closed defect: duplicate)

Opened 6 years ago

Last modified 6 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:
Release Notes:
API Changes:

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

comment:1 Changed 6 years ago by anonymous

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

comment:2 Changed 6 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.

comment:3 Changed 6 years ago by mgood

  • Resolution set to duplicate
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.