OOPS when deleting snap build with snap jobs
Bug #1802089 reported by
Adam Collard
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 "snap" violates foreign key constraint "snapjob_snap_fkey" on table "snapjob"
DETAIL: Key (id)=(14943) is still referenced from table "snapjob".
Further details in OOPS-df0141bc635adc0e7bc44d83030d8f8c
Related branches
lp:~cjwatson/launchpad/snap-delete-with-build-requests
- William Grant: Approve (code)
-
Diff: 119 lines (+66/-4)2 files modifiedlib/lp/snappy/model/snap.py (+6/-4)
lib/lp/snappy/tests/test_snap.py (+60/-0)
tags: | added: lp-snappy oops regression |
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
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 r18815 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18815>.