Deleting an email address that's used in subscriptions cases referential integrity error

Bug #172907 reported by Leonard Richardson
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Leonard Richardson

Bug Description

A user has two email addresses: their preferred one and another one.
User subscribes to a mailing list using the 'other' email address.
User deletes the 'other' email address.

Result: an OOPS like that at https://pastebin.canonical.com/1253/.

Something's not clearing out all uses of the email address (for instance, mailing list subscriptions) before deleting it.

Revision history for this message
Leonard Richardson (leonardr) wrote :

This is a prerequisite for mailing-lists-membership-ui.

Changed in launchpad:
milestone: none → 1.1.12
Changed in launchpad:
importance: Undecided → High
status: New → In Progress
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Fixed in RF 5272.

Changed in launchpad:
assignee: nobody → leonardr
status: In Progress → Fix Committed
Changed in launchpad:
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.