# HG changeset patch # User Sylvain Thénault # Date 1273497287 -7200 # Node ID 97ed78b5495602916c94b3ddb61b15c8092a49f1 # Parent 5b7eb0839da353f1ba4f416ba6e40b9dbaaf5287 [table view] we should call the cell view using the table rset, not one rebuilded for a specific entity diff -r 5b7eb0839da3 -r 97ed78b54956 web/views/tableview.py --- a/web/views/tableview.py Mon May 10 15:14:13 2010 +0200 +++ b/web/views/tableview.py Mon May 10 15:14:47 2010 +0200 @@ -287,8 +287,7 @@ """ etype, val = self.cw_rset.description[row][col], self.cw_rset[row][col] if val is not None and not self._cw.vreg.schema.eschema(etype).final: - e = self.cw_rset.get_entity(row, col) - e.view(cellvid or 'outofcontext', w=self.w) + self.wview(cellvid or 'outofcontext', self.cw_rset, row=row, col=col) elif val is None: # This is usually caused by a left outer join and in that case, # regular views will most certainly fail if they don't have