Oops at +assignedbugs and +viewstatus from missing NULL priority title

Bug #3077 reported by Andrew Mitchell
20
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Brad Bollenbach

Bug Description

+assignedbugs and +viewstatus pages fail when displaying a bug with NULL priority. Examples:
https://launchpad.net/people/mono/+assignedbugs
https://launchpad.net/people/motu/+assignedbugs
https://launchpad.net/products/launchpad/+bug/3046/+viewstatus

Tracebacks include:
Expression: <StringExpr 'priority${context/priority/title}'>
...
__traceback_info__: (None, 'title', [])
NotFoundError: (None, 'title')

Tags: lp-bugs
Revision history for this message
James Henstridge (jamesh) wrote :

The exception is "NotFoundError: (None, 'title')" and is generated by the TALES expression "priority${task/priority/title}", so would indicate a bug task with a NULL priority.

Changed in launchpad:
assignee: nobody → bradb
description: updated
Revision history for this message
Brad Bollenbach (bradb) wrote : Re: [Bug 3077] Oops at +assignedbugs and +viewstatus from missing NULL priority title

On 13-Oct-05, at 9:26 AM, Matthew Paul Thomas wrote:

> Public bug report changed:
> https://launchpad.net/malone/bugs/3077
>
> Title changed to:
> Oops at +assignedbugs and +viewstatus from missing NULL
> priority title
> Description changed to:
> +assignedbugs and +viewstatus pages fail when displaying a bug
> with NULL priority. Examples:
> https://launchpad.net/people/mono/+assignedbugs
> https://launchpad.net/people/motu/+assignedbugs
> https://launchpad.net/products/launchpad/+bug/3046/+viewstatus
>
> Tracebacks include:
> Expression: <StringExpr 'priority${context/priority/title}'>
> ...
> __traceback_info__: (None, 'title', [])
> NotFoundError: (None, 'title')

I need to change the sample data to test the fix for this (and adding
new bugs or bugtasks to the sampledata is always painful :/), but
I've got a patch to land first which already changes the sample data
for something else.

Cheers,

--
Brad Bollenbach

Brad Bollenbach (bradb)
Changed in malone:
status: New → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.