cubicweb #3348710 iter_rows_with_entities() fails on filtered_rset [open]

traceback

2013-12-05 10:35:07 - (cubicweb.web) ERROR: an exception occurred while calling js_view([]): list index out of   range
Traceback (most recent call last):
File "/home/arthur/src/public/cubicweb/cubicweb/web/views/ajaxcontroller.py", line 143, in publish
  result = func(*args)
File "/home/arthur/src/public/cubicweb/cubicweb/web/views/ajaxcontroller.py", line 284, in __call__
  return self.serialize(implementation(self, *args, **kwargs))
File "/home/arthur/src/public/cubicweb/cubicweb/web/views/ajaxcontroller.py", line 376, in view
  return self._call_view(viewobj, paginate=req.form.pop('paginate', False))
File "/home/arthur/src/public/cubicweb/cubicweb/web/views/ajaxcontroller.py", line 246, in _call_view
  view.render(**kwargs)
File "/home/arthur/src/public/cubicweb/cubicweb/view.py", line 137, in render
  view_func(**context)
File "/home/arthur/src/public/cubicweb/cubicweb/view.py", line 348, in call
  super(EntityView, self).call(**kwargs)
File "/home/arthur/src/public/cubicweb/cubicweb/view.py", line 187, in call
  self.cell_call(row=0, **kwargs)
File "/home/arthur/src/public/cubicweb/cubes/trombino/views/primary.py", line 355, in cell_call
  print u'%s' % [e for e in filtered_rset.iter_rows_with_entities()]
File "/home/arthur/src/public/cubicweb/cubicweb/rset.py", line 398, in iter_rows_with_entities
  _row.append(self.get_entity(i, j) if col is not None else col)
File "/home/arthur/src/public/cubicweb/logilab/common/decorators.py", line 66, in wrapped
  return self.__call__(*args, **kwargs)
File "/home/arthur/src/public/cubicweb/logilab/common/decorators.py", line 94, in __call__
  _cache[args] = __me.callable(self, *args)
File "/home/arthur/src/public/cubicweb/cubicweb/rset.py", line 428, in get_entity
  etype = self.description[row][col]
IndexError: list index out of range

From

def skip_already_displayed(entity):
    return not entity.eid in displayed_eids
filtered_rset = rset.filtered_rset(skip_already_displayed)
print u'%s' % [e for e in filtered_rset.iter_rows_with_entities()]
# works
print u'%s' % [e for e in filtered_rset.iter_rows_with_entities()]
# traceback above
prioritynormal
typebug
done in<not specified>
closed by<not specified>