Bug counted twice on project's bugs page under milestones if it has been targeted at development focus series

Bug #516050 reported by Ed Rink
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Robert Collins

Bug Description

On a project's bugs page if a bug is targeted at a development focus series and a milestone then it will be counted twice under the "Milestone-targeted bugs" section.

Here is an example:
https://bugs.launchpad.net/pyfusker
Milestone "0.1" has 3 targeted bugs that are all targeted at a development focus series. It shows up as 6 under the "Milestone-targeted bugs" header.

Related branches

Deryck Hodge (deryck)
Changed in malone:
importance: Undecided → Low
status: New → Triaged
tags: added: milestone-management
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This is yet another manifestation of bug 1357.

Revision history for this message
Robert Collins (lifeless) wrote :

@mpt actually its not. Conjoined bug tasks created a situation where iterating over 'bugs in a milestone' required a distinct on bugtask.bug that the 'open_bugtasks' attribute doesn't supply (and is not well suited to supply). I've fixed this as a drive by while working on performance for bug searches.

Changed in launchpad:
assignee: nobody → Robert Collins (lifeless)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.03
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Revision history for this message
Robert Collins (lifeless) wrote :

The counts for searches on ubuntu have dropped with this patch in line with them being series tasks w/ conjoined masters.

tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.