Distribution CVE report assumes bugtask.sourcepackagename != None

Bug #29174 reported by James Henstridge
58
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Brad Bollenbach

Bug Description

When trying to access the following URL, I got OOPS-20C58:
    https://launchpad.net/distros/ubuntu/+cve

Judging by the traceback and the template code, this would be caused by one of the matched bug tasks having a sourcepackagename of NULL.

The bugtask-macros-cve.pt template ignores this and tries to get "bugtask/sourcepackagename/name" without checking this, leading to the OOPS.

The page template should be altered to handle this case, and a page test should be written to test this scenario.

Tags: lp-bugs oops
Dafydd Harries (daf)
Changed in launchpad:
status: Unconfirmed → Confirmed
Brad Bollenbach (bradb)
Changed in malone:
assignee: nobody → bradb
status: Confirmed → In Progress
Dafydd Harries (daf)
Changed in malone:
status: In Progress → 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.