IQuestion.target generates excessive queries
Bug #876205 reported by
Steve Kowalik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Steve Kowalik |
Bug Description
When a question is targeted against a DSP, and IQuestion.target() is called, it looks up the SPN every time, as seen in OOPS-2115AZ80.
Related branches
lp:~stevenk/launchpad/dsp-questions-statement-death
- Robert Collins (community): Approve
-
Diff: 68 lines (+22/-5)2 files modifiedlib/lp/answers/browser/tests/test_questiontarget.py (+20/-0)
lib/lp/answers/model/question.py (+2/-5)
Changed in launchpad: | |
status: | Confirmed → Triaged |
importance: | High → Critical |
tags: | added: oops |
Changed in launchpad: | |
importance: | Critical → High |
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 r14158 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 14158>.