flag-expired-memberships.py fails when the member does not have a preferred email

Bug #314795 reported by Curtis Hovey
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Curtis Hovey

Bug Description

TeamMembership.sendAutoRenewalNotification will pass an empty set of addresses to simple_sendmail. This method to test the size of the set and directly report an oops, then exit. The problem is cause by bad data, probably a suspended or deactivate user. This data should not kill the process, we want to report the data to fix it.

Tags: lp-registry
Revision history for this message
Curtis Hovey (sinzui) wrote :

The cronscript does not complete because of the data problem.

Changed in launchpad-registry:
importance: Undecided → High
milestone: none → 2.2.1
status: New → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

Well I have the code open, I might as well add an test and and the conditional block.

Changed in launchpad-registry:
assignee: nobody → sinzui
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchpad/devel 7565

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fix released in Launchpad 2.2.1.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.