web/views/editcontroller.py
branchstable
changeset 3631 6176ef2f6488
parent 3309 2538daa6651c
child 3674 387d51af966d
child 3689 deb13e88e037
--- a/web/views/editcontroller.py	Fri Oct 09 16:31:06 2009 +0200
+++ b/web/views/editcontroller.py	Fri Oct 09 16:48:03 2009 +0200
@@ -142,7 +142,7 @@
             todelete = self.req.list_form_param('__delete', formparams, pop=True)
             self.delete_relations(parse_relations_descr(todelete))
         if formparams.has_key('__cloned_eid'):
-            entity.copy_relations(formparams['__cloned_eid'])
+            entity.copy_relations(typed_eid(formparams['__cloned_eid']))
         if formparams.has_key('__insert'):
             toinsert = self.req.list_form_param('__insert', formparams, pop=True)
             self.insert_relations(parse_relations_descr(toinsert))