[entities/clone] Never copy container relation
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Mar 2017 18:47:52 +0100
changeset 2466 26bd2acc7285
parent 2465 3b5249ffe7a1
child 2467 5c94d0712e11
[entities/clone] Never copy container relation whatever its role.
cubicweb_seda/site_cubicweb.py
--- a/cubicweb_seda/site_cubicweb.py	Tue Mar 07 18:47:27 2017 +0100
+++ b/cubicweb_seda/site_cubicweb.py	Tue Mar 07 18:47:52 2017 +0100
@@ -50,6 +50,7 @@
 
 
 Entity.cw_skip_copy_for.append(('container', 'subject'))
+Entity.cw_skip_copy_for.append(('container', 'object'))
 Entity.cw_skip_copy_for.append(('clone_of', 'subject'))
 Entity.cw_skip_copy_for.append(('clone_of', 'object'))