Accessing bugs that have no bugtasks causes NoCanonicalURL OOPS

Bug #403131 reported by Ursula Junque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
Medium
Eleanor Berger

Bug Description

As seen on OOPS-1298A350, bugs that have no bugtasks try to redirect to None, causing:

  NoCanonicalUrl: No url for None because None broke the chain.

Instead of oopsing, that should give a 404.

Steps to reproduce:
1) Accessing https://bugs.launchpad.net/api/beta/ubuntu/+source/xserver-xorg-video-nv/+bug/309482 is enough.

Tags: lp-bugs oops
Ursula Junque (ursinha)
description: updated
description: updated
Changed in malone:
importance: Undecided → Medium
assignee: nobody → Tom Berger (intellectronica)
milestone: none → 2.2.7
Revision history for this message
Björn Tillenius (bjornt) wrote :

I'm marking this as Won't Fix, since this really is due to bad data in the database, and we should work around that. I've filed bug 403182 about the fact that we're creating bugs with no bug tasks.

Changed in malone:
status: New → Won't Fix
Changed in malone:
milestone: 2.2.7 → none
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.