Error when attempting to delete a charm recipe
Bug #1968182 reported by
Alex Kavanagh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Jürgen Gmach |
Bug Description
When I try to delete a charm recipe I get the following error:
Oops!
Sorry, something just went wrong in Launchpad.
We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
If you can't login, join us on #launchpad IRC channel at irc.libera.chat, e-mail us or visit our feedback page.
If you report this as a bug, please include the error ID below, preferably by copying and pasting it rather than by taking a screenshot.
(Error ID: OOPS-72ce6b9a112e28c80cee7d2e24637d05)
Provide feedback or report a bug
Return to the Launchpad front page
The LP project is "charm-
The recipe is: charm-manila-
Related branches
~jugmac00/launchpad:fix-charm-recipes-cannot-be-deleted
Merged
into
launchpad:master
- Colin Watson (community): Approve
-
Diff: 82 lines (+21/-3)2 files modifiedlib/lp/charms/model/charmrecipe.py (+7/-0)
lib/lp/charms/tests/test_charmrecipe.py (+14/-3)
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Jürgen Gmach (jugmac00) |
Changed in launchpad: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
storm.database. IntegrityError: update or delete on table "charmrecipebuild" violates foreign key constraint "charmrecipebui ldjob_build_ fkey" on table "charmrecipebui ldjob" ldjob".
DETAIL: Key (id)=(1519) is still referenced from table "charmrecipebui
This should be a quick fix to the recipe deletion handler.