person merge code needs to handle colliding recipes
Bug #669288 reported by
Michael Hudson-Doyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Steve Kowalik |
Bug Description
The person merge code currently assumes that the two people being merged don't have any recipes named the same, something that is clearly not necessarily the case. It needs to uniquify the names in the same way that is done for branches (and any other UNIQUE index featuring Person, I guess).
Related branches
lp:~stevenk/launchpad/delete-recipes-during-merge
- Gavin Panella (community): Approve
-
Diff: 99 lines (+48/-7)2 files modifiedlib/lp/registry/model/person.py (+10/-2)
lib/lp/registry/tests/test_person.py (+38/-5)
lp:~stevenk/launchpad/merge-recipes-during-merge
- Robert Collins (community): Approve
- William Grant (community): Approve (code*)
-
Diff: 182 lines (+86/-34)2 files modifiedlib/lp/registry/model/person.py (+22/-29)
lib/lp/registry/tests/test_person.py (+64/-5)
Changed in launchpad-code: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: recipe |
tags: |
added: bad-commit-12277 qa-bad removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12277 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12277>.