Comment 2 for bug 153763

Revision history for this message
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.)