--- 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))