Evolution source package in Ubuntu page tells me I don't have access

Bug #31573 reported by Jeff Bailey
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Christian Reis

Bug Description

Revision history for this message
Raphaël Pinson (raphink) wrote :

Confirmed

Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Björn Tillenius (bjornt) wrote :

This is because the "Latest bugs" portlet tries to display the title of a private bug, which the user hasn't access to.

Christian Reis (kiko)
Changed in launchpad:
assignee: nobody → kiko
Revision history for this message
Christian Reis (kiko) wrote :

It's actually because the DistributionSourcePackageView's latest_bugtasks method uses the context's bugtasks MultipleJoin directly. That is totally evil.

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 31573] Evolution source package in Ubuntu page tells me I don't have access

On Fri, Feb 17, 2006 at 03:10:13PM -0000, Christian Reis wrote:
> It's actually because the DistributionSourcePackageView's
> latest_bugtasks method uses the context's bugtasks MultipleJoin
> directly. That is totally evil.

We should probably remove IBugTarget.bugtasks, since it's not that
useful. I can't find many use cases for when you would want to use it,
most of the time you want to filter which bugtasks to get. I wonder,
though, whether the latest bugs portlet should include private bugs or
not.

Revision history for this message
Christian Reis (kiko) wrote :

Landed in PQM.

Changed in launchpad:
status: Confirmed → Fix Committed
Revision history for this message
Christian Reis (kiko) wrote :

Bjorn, I love that suggestion! Let me try to push it through.

Revision history for this message
Christian Reis (kiko) wrote :

Landed today, the demise of IBugTarget.bugtasks.

Revision history for this message
Christian Reis (kiko) wrote :

And, as for BjornT's question, I think it's okay for private bugs to be listed in the latest bugs portlet if the person viewing the portlet has access to them. We could style private bugs differently, though -- padlock?

Revision history for this message
Christian Reis (kiko) wrote :

And in production now.

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.