IntegrityError while attempting to remove a snap package with builds
Bug #1607366 reported by
Andy Whitcroft
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
IntegrityError: update or delete on table "snapbuild" violates foreign key constraint "snapbuildjob_
DETAIL: Key (id)=(1944) is still referenced from table "snapbuildjob".
Full details in (OOPS-ab1dac2556dbcf7c21262727546b4a99).
Related branches
lp:~cjwatson/launchpad/snap-delete-with-builds
- Maximiliano Bertacchini (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 65 lines (+13/-1)2 files modifiedlib/lp/snappy/model/snap.py (+7/-0)
lib/lp/snappy/tests/test_snap.py (+6/-1)
description: | updated |
tags: | added: lp-snappy |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
importance: | High → Critical |
tags: | added: oops |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
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 r18245 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18245>.