common/mixins.py
changeset 3460 e4843535db25
parent 3457 0924d0d08d60
child 3589 a5432f99f2d9
--- a/common/mixins.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/common/mixins.py	Thu Sep 24 00:24:21 2009 +0200
@@ -207,7 +207,7 @@
     """handle an infinite recursion safety belt"""
     if done is None:
         done = set()
-    entity = view.rset.get_entity(row, col)
+    entity = view.cw_rset.get_entity(row, col)
     if entity.eid in done:
         msg = entity._cw._('loop in %(rel)s relation (%(eid)s)') % {
             'rel': entity.tree_attribute,