fixes in other contexts are not indicated on buglistings

Bug #148595 reported by Christian Reis
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

For bugs reported on multiple contexts, and in particular for Ubuntu tasks with additional upstream tasks, it is really useful to be able to see what bugs have been fixed upstream. This is what the fixed-upstream advanced search option does, but we should step ahead with this, and actually display a special symbol next to the bug if the bug has been fixed elsewhere already.

This will probably require a column cache in bugtask, which the advanced search report could use to make the query faster.

Christian Reis (kiko)
Changed in malone:
importance: Undecided → Medium
Christian Reis (kiko)
Changed in malone:
assignee: nobody → intellectronica
milestone: 1.1.12 → 1.2.1
Changed in malone:
status: New → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

Why is a flag proposed for the BugTask table rather than the Bug table? From the use case, putting it here is denormalized.

The logic for when the flag is being set and unset needs to be specified, particularly when a Bug has multiple upstream tasks. At the moment I have an implementation in my review queue but no use case or logic to verify it against.

Revision history for this message
Eleanor Berger (intellectronica) wrote :

The logic is identical to the logic of the equivalent feature in searches.

Revision history for this message
Björn Tillenius (bjornt) wrote :

This feature needs a bit more discussion before it's read to code. The same logic used in the search doesn't quite work here.

Changed in malone:
milestone: 1.2.1 → 1.2.2
status: In Progress → Confirmed
Revision history for this message
Christian Reis (kiko) wrote :

Why don't we fix this by simply caching a fixed_bugtask_count counter on the bug, and using that to decide whether to display something special or not?

Revision history for this message
Eleanor Berger (intellectronica) wrote :

I think the problem that bothered Björn is that it's not enough to say that the bug was fixed _elsewhere_ - we care about the relation between the fixed bugtask and the unfixed on (is one an upstream of the other, etc). The solution you (and stub) are proposing makes sense, but I take the point that it might be of little use to users.

Revision history for this message
Christian Reis (kiko) wrote : Re: [Bug 148595] Re: Indicate in buglists when a bug has one or more bugtasks that are fixed in other contexts

On Thu, Jan 17, 2008 at 02:56:22PM -0000, Tom Berger wrote:
> etc). The solution you (and stub) are proposing makes sense, but I take
> the point that it might be of little use to users.

In practice doesn't it give the right indication in most cases where we
have multiple bugtasks?

Revision history for this message
Björn Tillenius (bjornt) wrote :

On Thu, Jan 17, 2008 at 02:56:22PM -0000, Tom Berger wrote:
> I think the problem that bothered Björn is that it's not enough to say
> that the bug was fixed _elsewhere_

Actually, no. My concern was the the current advanced search logic is
bascially, 'has this bug been fixed in a Product'. That means that if
you looked at a closed bug for a Product, this flag would always be
True, even if that's the only place where the bug has been fixed. I
think having a 'fixed elsewhere' flag is more useful. What we have to
think of is how we define 'elsewhere'. For example, is it useful, when
you look at Ubuntu bugs, to see that the bug has been fixed in dapper?

I think it is quite useful, but once upon a time I did add a search
option for 'fixed elsewhere'. This wasn't deemed useful, and was
replaced with the current logic. I can't remember the reasons, though.

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: Indicate in buglists when a bug has one or more bugtasks that are fixed in other contexts

Untargeting for now to leave room for 2.0 tasks.

Changed in malone:
milestone: 1.2.2 → none
Curtis Hovey (sinzui)
Changed in malone:
assignee: Tom Berger (intellectronica) → nobody
summary: - Indicate in buglists when a bug has one or more bugtasks that are fixed
- in other contexts
+ fixes in other contexts are not indicated on buglistings
Changed in launchpad:
importance: Medium → Low
tags: added: easy ui
William Grant (wgrant)
tags: added: bug-search
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.