cubicweb-container #3589525 owned_by relation is not set for container entities during clone [validation pending]
Currently, entities created upon cloning of a container do not have anything in their owned_by relation. | |
priority | important |
---|---|
type | bug |
done in | 2.7.0 |
load | 0.100 |
load left | 0.000 |
closed by | #ad6a74916d34 Clone: use the fastimport flush controller and .insert_entities |
patch | Clone: use the fastimport flush controller and .insert_entities [applied]Add a test case for owned_by relation during clone [applied] |
Comments
-
2014/02/25 09:46, written by acampeas
-
2014/02/25 10:02, written by dlaxalde
-
2014/02/25 10:13, written by acampeas
-
2014/05/27 13:57, written by acampeas
-
2014/05/27 14:36, written by dlaxalde
-
2014/07/26 10:07, written by acampeas
add commentI think you mean something different. What is it ?
It seems to me that we currently have cloned_folder.owned_by == ().
Typically I want the user triggering the clone to be the owner of cloned entities.
Then, either you use the (imho immature) special_relation api or you perform the relinking after the clone.
hmm I know how to do it painlessly & efficiently now.
Care to share?
The "fastimport" cube is now out and will give use proper metadata handling.