delete team IntegrityError: emailaddress__person__key
Bug #610850 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
OOPS-1669EB4270 shows that the merge into ~registry failed.
The team did have an email address and I set the team to send to all members (implcitly deleting the email address). I then used the delete action to merge the team with ~registry
I expect the delete team rules to delete team email addresses as the first step of the merge.
Related branches
lp://qastaging/~sinzui/launchpad/delete-team-1
- Brad Crittenden (community): Approve (code)
-
Diff: 53 lines (+12/-3)3 files modifiedlib/lp/registry/browser/peoplemerge.py (+3/-0)
lib/lp/registry/browser/tests/peoplemerge-views.txt (+5/-3)
lib/lp/registry/model/person.py (+4/-0)
tags: | added: merge-deactivate |
Changed in launchpad-registry: | |
milestone: | 10.08 → 10.09 |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-bad removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
The rules were not complete in the implementation. Adding a test for the email address of the merge team showed that it was transferred to ~registry. The fix is simple: call person. setContactAddre ss() /before/ doMerge() in DeleteTeamView.