DB constraint triggered adding a new blueprint with status obsolete or superseded
Bug #121608 reported by
Diogo Matsubara
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Curtis Hovey |
Bug Description
Steps to reproduce (using sample data):
1. http://
2. Fill in all required fields.
3. In 'Definition Status' choose Obsolete or superseded option
4. Click Register Blueprint
5. OOPS-537S47 IntegrityError ERROR: new row for relation "specification" violates check constraint "specification_
Related branches
lp:~sinzui/launchpad/sane-definition-status-0
- Robert Collins (community): Approve
-
Diff: 296 lines (+104/-13)8 files modifiedlib/lp/blueprints/enums.py (+18/-0)
lib/lp/blueprints/interfaces/specification.py (+15/-2)
lib/lp/blueprints/model/specification.py (+12/-0)
lib/lp/blueprints/tests/test_hasspecifications.py (+1/-3)
lib/lp/blueprints/tests/test_specification.py (+43/-1)
lib/lp/blueprints/tests/test_webservice.py (+1/-3)
lib/lp/code/model/tests/test_branch.py (+2/-2)
lib/lp/testing/factory.py (+12/-2)
description: | updated |
Changed in blueprint: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in launchpad: | |
importance: | Low → Critical |
Changed in launchpad: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in launchpad: | |
milestone: | none → 11.03 |
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 r12514 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12514>.