common/mixins.py
changeset 2789 39712da6f397
parent 2784 f395115070c1
child 2968 0e3460341023
--- a/common/mixins.py	Wed Aug 12 18:40:52 2009 +0200
+++ b/common/mixins.py	Wed Aug 12 19:09:32 2009 +0200
@@ -299,7 +299,7 @@
     """handle an infinite recursion safety belt"""
     if done is None:
         done = set()
-    entity = view.entity(row, col)
+    entity = view.rset.get_entity(row, col)
     if entity.eid in done:
         msg = entity.req._('loop in %(rel)s relation (%(eid)s)') % {
             'rel': entity.tree_attribute,