← Back to team overview

yellow team mailing list archive

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

 

Fixed in stable r13096 <http://bazaar.launchpad.net/~launchpad-
pqm/launchpad/stable/revision/13096>.

** Tags added: qa-needstesting

** Changed in: launchpad
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Launchpad
Yellow Squad, which is a bug assignee.
https://bugs.launchpad.net/bugs/778847

Title:
  Muting a bug subscription for a team with a contact address crashes
  getRecipientFilterData

Status in Launchpad itself:
  Fix Committed

Bug description:
  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)