You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2012/10/01 18:04:16 UTC

[Apache Bloodhound] #215: TicketSystem.format_summary raises exception for missing resource id

#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