Using EA v13 build 1303, and no, this is not the start of a moral debate on child cloning....
The 'clone element' function in v13 works with no surprises when the item being cloned is a child of a package.
(Package) Original Package
--diagram 1
--element 1
Cloned to become:
(package) Cloned Original Package
--diagram1 (clone, empty)
I then drop element1 onto the cloned diagram1, and get EA to create a clone of element1, as a child of (package) Cloned Original Package:
(package) Cloned Original Package
--diagram1 (clone)
--element1 (clone)
So far, so good. No surprises.
So what about if I create a child of element1, and repeat the process:
(Package) Original Package
--diagram 1
--element 1
----element1.1 (child of element1)
Question is, what do we expect to happen when we clone element1 now? Do we clone its children as well? ALL of them? And their children?
If element1 is a BPMN process, then it will have children which are lanes/pools, which in turn will have lots of child activities, events etc: a BIG structure.
But what's the alternative? If we don't clone all the children, then EA seems to get confused, and won't clone the children AT ALL (bug reported).
So if I want to create a new version of a process, how should it be done? I think a 'deep clone' (all children) makes sense, but I'm really not sure what I expect.
Ideas please!