+editwikinames needs better unique validation.
Bug #54696 reported by
Diogo Matsubara
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Brad Crittenden |
Bug Description
Steps to reproduce(using sample data):
1. http://
2. In Other wiki names fill in wiki base URL http://
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_
Recent: OOPS-968H114, OOPS-978C1366, OOPS-978H1248
Related branches
lp://qastaging/~bac/launchpad/bug-39212
- Graham Binns (community): Approve (code)
-
Diff: 601 lines (+264/-198)3 files modifiedlib/lp/registry/browser/person.py (+130/-73)
lib/lp/registry/stories/person/xx-person-edit-wikis.txt (+86/-61)
lib/lp/registry/templates/person-editwikinames.pt (+48/-64)
Changed in launchpad: | |
importance: | Untriaged → Low |
status: | Unconfirmed → Confirmed |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in launchpad-registry: | |
status: | Confirmed → Triaged |
Changed in launchpad-registry: | |
status: | Triaged → In Progress |
assignee: | nobody → Brad Crittenden (bac) |
tags: | added: qa-ok |
Changed in launchpad-registry: | |
milestone: | none → 10.09 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Most recent oops: OOPS-1530D883 wikiname_ key /wiki.ubuntu. com/ en.wikipedia. org/wiki/ User:
IntegrityError: duplicate key value violates unique constraint "wikiname_
wiki_2313074: https:/
wiki_2313075: http://
wikiname_2313074: trideceth12
wikiname_2313075: trideceth12