search_bug_patterns seems to use bug's title not apport title in description

Bug #511310 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Low
Brian Murray

Bug Description

Binary package hint: apport

I was trying to write a bug pattern for LP: #506050 and wanted to match on the title. If I use the following key test-local (on karmic) fails.

<re key="Title">software-center crashed with TypeError: can't convert return value to desired type</re>

However, if I use:

<re key="Title">wicd</re>

the bug pattern matches.

It seems to me that since the bug's title / summary is editable it'd make more sense for apport to search the "Title: " line in the description rather than the bug's title / summary.

Revision history for this message
Martin Pitt (pitti) wrote :

Perhaps we should special-case that and save that in a new field "OriginalTitle"? Would that work for you?

Changed in apport (Ubuntu):
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

Yes, exposing "OriginalTitle" for pattern matching would be a good solution.

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Incomplete → Triaged
Changed in apport (Ubuntu):
assignee: Martin Pitt (pitti) → Brian Murray (brian-murray)
status: Triaged → In Progress
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.13-0ubuntu3

---------------
apport (1.13-0ubuntu3) lucid; urgency=low

  * Merge fixes from trunk:
    - Update parse-segv to handle gdb 7.1 output.
    - Enhance test suite to work with gdb 7.1 as well, and catch future outputs.
    - unkillable_shutdown: Add list of running processes, blacklisted pids,
      and "initctl list" to report. (LP: #537262)
    - launchpad.py: Preserve the bug title written to the description by
      apport as OriginalTitle for pattern matching. Thanks to Brian Murray!
      (LP: #511310)
 -- Martin Pitt <email address hidden> Sat, 13 Mar 2010 15:55:47 +0100

Changed in apport (Ubuntu):
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.