incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject [Apache Bloodhound] #215: TicketSystem.format_summary raises exception for missing resource id
Date Mon, 01 Oct 2012 16:04:16 GMT
#215: TicketSystem.format_summary raises exception for missing resource id
-----------------------+--------------------
 Reporter:  gjm        |      Owner:  nobody
     Type:  defect     |     Status:  new
 Priority:  minor      |  Milestone:
Component:  dashboard  |    Version:
 Keywords:             |
-----------------------+--------------------
 This output was from #204 which has been fixed but the underlying problem
 appears to be that {{{TicketSystem.format_summary}}} is failing when
 perhaps it should not.

 {{{
 File
 "/home/bloodhound/bh/bloodhound/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html",
 line 54, in <Expression u'summary_of(context.resource)'>
   No events reported for <em>${summary_of(context.resource)}</em> in the
 File "/home/bloodhound/bh/bloodhound/trac/trac/resource.py", line 347, in
 get_resource_summary
   return get_resource_description(env, resource, 'summary')
 File "/home/bloodhound/bh/bloodhound/trac/trac/resource.py", line 333, in
 get_resource_description
   return manager.get_resource_description(resource, format, **kwargs)
 File "/home/bloodhound/bh/bloodhound/trac/trac/ticket/api.py", line 555,
 in get_resource_description
   return self.format_summary(*args)
 File "/home/bloodhound/bh/bloodhound/trac/trac/ticket/api.py", line 561,
 in format_summary
   summary = type + ': ' + summary
 }}}

 We should check if Trac has already fixed this.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/215>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message