← Back to team overview

yellow team mailing list archive

[Bug 778847] [NEW] Muting a bug subscription for a team with a contact address crashes getRecipientFilterData

 

Graham Binns (gmb) has assigned this bug to you for Launchpad itself:

getRecipientFilterData crashes if it finds a BugSubscriptionFilterMute
for a person who isn't receiving an email through that filter. This has
only shown itself once on production so far: people muted ~launchpad-
bugs' subscription to launchpad when it had no contact address, but then
it had its contact address readded. This meant that only the team itself
received notifications from that filter, so all the mutes were redundant
and crashy.

Steps to reproduce locally:
 1) Create a team with a contact address.
 2) Subscribe that team to a project's bugs.
 3) As a member of that team, mute the structural subscription.
 4) File a bug on the project.
 5) After 5 minutes (or whatever the notification batching window is), run send-bug-notifications.py.
 6) OOPS-1952REPORTIFSEEN1000 (http://launchpadlibrarian.net/71237712/mxcMwtvbHTEmUeoQItq4WoPvjt.txt)

** Affects: launchpad
     Importance: Critical
     Assignee: Launchpad Yellow Squad (yellow)
         Status: Triaged


** Tags: oops regression story-better-bug-notification
-- 
Muting a bug subscription for a team with a contact address crashes getRecipientFilterData
https://bugs.launchpad.net/bugs/778847
You received this bug notification because you are a member of Launchpad Yellow Squad, which is a bug assignee.