cubicweb-tracker #1912550 Traceback if a ticket has no "concerns" relation [rejected]

2011-09-02 17:21:58 - (cubicweb.web) ERROR: IndexError('tuple index out of range',)
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/web/application.py", line 369, in main_publish
  result = controller.publish(rset=rset)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basecontrollers.py", line 122, in publish
  rset=rset, view=view)
File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 401, in main_template
  res = obj.render(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 142, in call
  view.render(w=w)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 380, in call
  super(EntityView, self).call(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 228, in call
  self.cell_call(row=0, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 383, in cell_call
  self.entity_call(self.cw_rset.get_entity(row, col), **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 57, in entity_call
  self.render_entity(entity)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 93, in render_entity
  self.render_side_boxes(boxes)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 233, in render_side_boxes
  box.render(w=self.w, row=self.cw_row)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/component.py", line 328, in render
  layout.render(w)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/boxes.py", line 272, in render
  view.render_body(w)
File "/usr/share/cubicweb/cubes/tag/views.py", line 131, in render_body
  self._cw.view('outofcontext', self.cw_rset, w=w)
File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 344, in view
  return view.render(w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 380, in call
  super(EntityView, self).call(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 221, in call
  self.wview(self.__regid__, rset, row=i, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 284, in wview
  self._cw.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 344, in view
  return view.render(w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/baseviews.py", line 254, in cell_call
  row=row, col=col)))
File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 344, in view
  return view.render(w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/baseviews.py", line 229, in cell_call
  self.w(entity.dc_long_title())
File "/usr/share/cubicweb/cubes/tracker/entities/ticket.py", line 39, in dc_long_title
  return u'%s %s' % (self.project.name, self.dc_title())
File "/usr/share/cubicweb/cubes/tracker/entities/ticket.py", line 31, in project
  return self.concern and self.concerns[0]
IndexError: tuple index out of range
priorityimportant
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>