Delete milestone will fail if private bugs are targeted.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Unassigned |
Bug Description
While testing on staging this error was seen
Retry: update or delete on table "milestone" violates foreign key constraint "bugtask_
DETAIL: Key (product,
When comparing the list of bugtasks between the milestone +index and milestone +delete, the private bugs were not listed on later.
This has never been seen in production because private bugs were not involved, and will rarely be involved since milestone deletion happens with mistaken (experimental) milestones rather than the genuine (production) milestones that was used on the staging test.
The RegistryDeleteV
This is not a high priority until this really happens.
Related branches
- Eleanor Berger (community): Approve
-
Diff: 170 lines (+68/-8)6 files modifiedlib/lp/registry/browser/__init__.py (+2/-2)
lib/lp/registry/browser/product.py (+1/-1)
lib/lp/registry/browser/tests/milestone-views.txt (+23/-0)
lib/lp/registry/browser/tests/peoplemerge-views.txt (+31/-0)
lib/lp/registry/doc/vocabularies.txt (+6/-2)
lib/lp/registry/vocabularies.py (+5/-3)
tags: | added: oops |
Changed in launchpad-registry: | |
milestone: | none → 10.05 |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
assignee: | nobody → Curtis Hovey (sinzui) |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
Oops OOPS-1494F1826 shows that that can be experienced.