Greetings. I am evaluating VP 11.2 (build 20140904), and have found that copying one or more states from one state diagram to another, using copy/paste model element, does not copy a state’s activities.
To reproduce this problem:
- Create a new project; select “UML Modeling”, then “State Machine Diagram”;
- Accept the default diagram name;
- Add state A, open its specification window, select Entry/Create Activity, type “Do something” in the “Body” pane, then click “OK” twice;
- Select File/New Diagram/UML Diagrams/State Machine Diagram;
- Accept the default diagram name;
- Go back to the first diagram. Select state A and type ctrl-c;
- Go to the second diagram. Select Edit/Paste Model Element;
- Notice that VP displays the new element’s activity;
- Open the new element’s specification window;
- Notice that there’s no Entry activity!;
- Click “OK”;
- The specification window disappears, and VP now displays no activity for the new element.
Duplicate/cut/paste model element works around this problem, but it’s not pretty on any but a trivial diagram.