we should never do bug redirects to disabled products

Bug #153763 reported by Christian Reis on 2007-10-17
32
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

Visit the URL:

  https://bugs.edge.launchpad.net/bugs/92487

It redirects to:

    https://bugs.edge.launchpad.net/launchpad-development-infrastructure/+bug/92487

Which is a 404. It's tricky in this case because that product is disabled and the bug only has one context.

It may save time to fix this bug at the same time as bug 2816.

Christian Reis (kiko) wrote :

I can't fix that bug either! +editstatus only exists under that specific product.

Changed in launchpad:
status: New → Confirmed
description: updated
Matthew Paul Thomas (mpt) wrote :

Suggested pseudocode to fix this bug and bug 2816:

if there are any non-disabled contexts:
    if the bug is open for any of those contexts (New, Incomplete, Confirmed, Triaged, or In Progress):
        redirect to the open context where the bug was filed earliest
    else:
        redirect to the context where the bug was filed earliest
else:
    return a 404 without redirecting anywhere

("Where the bug was filed earliest" ensures that <http://launchpad.net/bugs/1> should redirect to <https://bugs.launchpad.net/ubuntu/+bug/1>, not to the context for any of that bug's groupie projects.)

Changed in malone:
milestone: none → 2.2.1
status: Confirmed → Triaged
importance: Undecided → Low
Changed in malone:
milestone: 2.2.1 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions