Disregard deleted projects from lists

Bug #130285 reported by Christian Reis
62
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Curtis Hovey

Bug Description

If you look at https://launchpad.net/~etienne-goyer-outlands you'll notice there's an inactive project in his Most Active In listing. That shouldn't happen.

When a project is disabled the bugs, blueprints, and questions. which are not accessible anymore should not be listed anymore.

dcdmake is disabled, but we link to it in listed bugs and blueprints:
  https://bugs.edge.launchpad.net/~juliank/+assignedbugs
  https://bugs.edge.launchpad.net/~juliank/
  https://edge.launchpad.net/~juliank/

ubuntu-eee is disabled but if you are not logged in and search for questions using global search <e.g. https://launchpad.net/+search?field.text=49559>, the second exact match is a question on ubuntu-eee which returns a 404

Related branches

Changed in launchpad:
status: New → Confirmed
Changed in launchpad:
importance: Undecided → Medium
Revision history for this message
Christian Reis (kiko) wrote :

I had a look into this today. Currently, the query we use to pull data only uses PillarName. I think it's harmless to do an OUTER JOIN on product and exclude lines if the product is inactive. Does that sound right, Salgado?

Revision history for this message
Guilherme Salgado (salgado) wrote :

PillarName already has an 'active' column, so you could use that. I'm assuming the place you'd filter inactive products out is IPerson._getProjectsWithTheMostKarma()?

Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Medium → Low
status: Confirmed → Triaged
Curtis Hovey (sinzui)
summary: - most active in should disregard deleted projects
+ Disregard deleted projects from lists
description: updated
tags: added: registry-projects
removed: registry
description: updated
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
milestone: none → 10.04
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting registry-projects
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 130285 Fix released

Fixed released in launchpad-project 10.04.

Changed in launchpad-registry:
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.