Closed Bug 813861 Opened 13 years ago Closed 13 years ago

needinfo is sending duplicate request emails when the flag is cleared

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

when a needinfo flag is cleared, duplicate emails are being generated and sent. eg. callek received two identical emails (except for message-id) as a result of bug 798791 comment 9
it's the request email which is being duplicated, not the normal "bug updated" bugmail. this means only the flag setter is receiving duplicates.
Summary: needinfo is sending duplicate emails when the flag is cleared → needinfo is sending duplicate request emails when the flag is cleared
Attached patch patch v1 — — Splinter Review
since the move to bug_start_of_update, we no longer need to call Bugzilla::Flag->update_flags, as this is handled by bug->update().
Attachment #683894 - Flags: review?(dkl)
Comment on attachment 683894 [details] [diff] [review] patch v1 Review of attachment 683894 [details] [diff] [review]: ----------------------------------------------------------------- Sigh. Sorry I didn't recognize that before. r=dkl On the bright side, the extension is getting shorter and shorter now with the new hook ;) Also please remove my $timestamp = $args->{timestamp}; my $changes = $args->{changes}; on checkin as they are no longer used.
Attachment #683894 - Flags: review?(dkl) → review+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/ modified extensions/Needinfo/Extension.pm Committed revision 8397. Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/ modified extensions/Needinfo/Extension.pm Committed revision 8423.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
saw one today from standard8's update needinfo canceled: [Bug 741601] test pilot thunderbird performance slowdowns
(In reply to Wayne Mery (:wsmwk) from comment #5) > saw one today from standard8's update > needinfo canceled: [Bug 741601] test pilot thunderbird performance slowdowns Yeah the code push containing the fix is not yet in production and will likely not be out til next week due to IT blocking updates over the US holiday. dkl
Component: Extensions: Needinfo → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: