System Error at person page because merged account has two wikinames

Bug #1313 reported by Jeff Bailey
52
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

After merging accounts, there are two entries in the wikiname table for our internal wiki. The code is all written to allow only one wikiname for our internal wiki.

Constraints need to be added to enforce this uniqueness and the person.merge code updated to trash the old internal wikiname (so it can be reused if desired).

After merging accounts, some people are finding the resulting person page produces a system error. Examples:
https://launchpad.net/people/adomanski
https://launchpad.net/people/dand
https://launchpad.net/people/henrik
https://launchpad.net/people/jbailey-ubuntu
https://launchpad.net/people/michiel
https://launchpad.net/people/moquist
https://launchpad.net/people/niels-k-h
https://launchpad.net/people/ploum
https://launchpad.net/people/pterjan-mandriva
https://launchpad.net/people/siretart

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I did a merge here and now, my main page is system error :-(

https://launchpad.ubuntu.com/people/ploum

Revision history for this message
Matt Oquist (moquist) wrote :

Same thing here. The merge supposedly worked fine, but now https://launchpad.ubuntu.com/people/moquist is broken.

Revision history for this message
Niels Kjøller Hansen (kjoller) wrote :

The same thing happened to me. All goes fine, until I find
https://launchpad.ubuntu.com/people/niels-k-h broken.

Revision history for this message
Dan Damian (dand) wrote :
description: updated
summary: - https://launchpad.ubuntu.com/token/MrxPpD2tsHMz30TBKrf2/+accountmerge
-
- I got an error while completing the merge
description: updated
Stuart Bishop (stub)
Changed in launchpad:
assignee: nobody → stub
status: New → Accepted
Revision history for this message
Pascal Terjan (pterjan42) wrote : Re: After merging accounts, System Error from person page with two wikinames
Stuart Bishop (stub)
description: updated
summary: + Person.wiki property uses selectOne, causing breakage. There is an XXX:
+ there owned by Salgado explaining that this is wrong and how it should
+ be changed.
Changed in launchpad:
assignee: stub → salgado
description: updated
Stuart Bishop (stub)
Changed in launchpad:
assignee: salgado → stub
description: updated
summary: - Person.wiki property uses selectOne, causing breakage. There is an XXX:
- there owned by Salgado explaining that this is wrong and how it should
- be changed.
+ After merging accounts, there are two entries in the wikiname table for
+ our internal wiki. The code is all written to allow only one wikiname
+ for our internal wiki.
+
+ Constraints need to be added to enforce this uniqueness and the
+ person.merge code updated to trash the old internal wikiname (so it can
+ be reused if desired).
Changed in launchpad:
status: Accepted → PendingUpload
Stuart Bishop (stub)
Changed in launchpad:
status: PendingUpload → Fixed
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.