"affects me too" lists don't include dupes

Bug #867961 reported by Martin Pool
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Related to bug 343110 and bug 505845 - https://bugs.launchpad.net/~/+affectingbugs (and the search for bugs affecting me in a pillar) excludes bugs that have been marked as dupes, and does not include the bug they were marked as a dupe of.

This could be fixed by:
 * folding across the affected user when marking the dupe (though that seems lossy/messy)
 * returning the master
 * returning the dupe

The last seems easiest, just by removing the "duplicateof is null" from the query.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 867961] [NEW] "affects me too" lists don't include dupes

I suggest returning the master - thats more consistent with our user
model around bugs, notifications etc. (Note that there is a bug asking
that affects-me sum across dups for the master bug)

Revision history for this message
Martin Pool (mbp) wrote :

On 5 October 2011 10:27, Robert Collins <email address hidden> wrote:
> I suggest returning the master - thats more consistent with our user
> model around bugs, notifications etc.

I think that would be best, but since the db is timing out at the
moment even returning the current list, I hesitate to specify
something that will require doing even more work (a self join to find
the master.)

> (Note that there is a bug asking
> that affects-me sum across dups for the master bug)

That's the bug I linked to ;-)

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

On Wed, Oct 5, 2011 at 12:38 PM, Martin Pool <email address hidden> wrote:
> On 5 October 2011 10:27, Robert Collins <email address hidden> wrote:
>> I suggest returning the master - thats more consistent with our user
>> model around bugs, notifications etc.
>
> I think that would be best, but since the db is timing out at the
> moment even returning the current list, I hesitate to specify
> something that will require doing even more work (a self join to find
> the master.)

You can do that as a separate query, or work on that after the timeout
is addressed.

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.