Hi all,
I experienced an issue in my model due to the function "copy full structure for duplication".
Imagine this scenario:My model contains the following elements:
- Package A with activity diagram A inside it
- Package B with activity diagram B inside it
The activity diagram
B contains an hyperlink to the activity diagram
A.
Having said this, imagine that now I create a package
C with an activity diagram
C inside it. So my project tree looks like:
`-- Main Project |-- Package A | `-- Activity Diagram A
|-- Package B | `-- Activity Diagram B (that contains an hyperlink to A)
|-- Package C | `-- Activity Diagram C
In the structure of the activity diagram C, it is required to have also a quite different version of activity diagram A. In order to avoid to re design a package quite similar to A, I chose to do a "Copy full structure for duplication" of package A and paste it in the package C.
So my project tree looks like:
`-- Main Project |-- Package A | `-- Activity Diagram A
|-- Package B | `-- Activity Diagram B (that contains an hyperlink to A)
|-- Package C | `-- Activity Diagram C
| `-- Duplication of Package A
| `-- Duplication of Activity Diagram A
Now I can proceed to modify the duplication of Activity diagram A inside the Package C and when I'm done, I can link the duplication of activity diagram A in my activity diagram C.
The fault is that
the Activity diagram B that contains an hyperlink to A points now to his duplication (in package C)In other words, it seems that the fully "copy for duplication" does not instantiate a fully new object, but it remains a link to the original package.Have you ever experienced a similar fault?
Which is the correct way to work in order to avoid this issue?
Thank you in advance