+editwikinames needs better unique validation.

Bug #54696 reported by Diogo Matsubara
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Brad Crittenden

Bug Description

Steps to reproduce(using sample data):
1. http://launchpad.dev/people/name12/+editwikinames
2. In Other wiki names fill in wiki base URL http://foo.bar.com and Wiki name
foobar, click on 'Save Changes';
3. Fill the form again and add the same URL of step 2 and a different Wiki
name (e.g foobarino), click 'Save Changes';
4. Change the foobarino Wiki name to foobar and click on 'Save changes';
5. Crash like: OOPS-209B181 ProgrammingError ERROR: duplicate key violates unique constraint "wikiname_wikiname_key"

Recent: OOPS-968H114, OOPS-978C1366, OOPS-978H1248

Related branches

Changed in launchpad:
importance: Untriaged → Low
status: Unconfirmed → Confirmed
description: updated
description: updated
description: updated
Ursula Junque (ursinha)
description: updated
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Confirmed → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

Most recent oops: OOPS-1530D883
IntegrityError: duplicate key value violates unique constraint "wikiname_wikiname_key
wiki_2313074: https://wiki.ubuntu.com/
wiki_2313075: http://en.wikipedia.org/wiki/User:
wikiname_2313074: trideceth12
wikiname_2313075: trideceth12

Revision history for this message
Brad Crittenden (bac) wrote :

This page needs to be reworked to be a proper LaunchpadEditForm just like I did for +editjabberids two weeks ago.

Brad Crittenden (bac)
Changed in launchpad-registry:
status: Triaged → In Progress
assignee: nobody → Brad Crittenden (bac)
Brad Crittenden (bac)
tags: added: qa-ok
Changed in launchpad-registry:
milestone: none → 10.09
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad-registry:
status: In Progress → Fix Committed
Ursula Junque (ursinha)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
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.