Targeting a bug to a series OOPSes if the information type is no longer legal
Bug #1049020 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Steve Kowalik |
Bug Description
As seen in OOPS-20d6ea3d3f63dd4e48223eb24e1d5539, targeting a bug to a series crashes with IllegalTarget if the information type is no longer legal in the pillar (eg. a bug is Private, but the project's bug sharing policy is Proprietary).
validate_target should probably only perform the information type check if the pillar is new.
Related branches
lp:~stevenk/launchpad/illegaltarget-if-pillar-is-new
- William Grant: Approve (code)
-
Diff: 35 lines (+14/-1)2 files modifiedlib/lp/bugs/model/bugtask.py (+2/-1)
lib/lp/bugs/model/tests/test_bugtask.py (+12/-0)
Changed in launchpad: | |
assignee: | nobody → Steve Kowalik (stevenk) |
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 r15941 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15941>.