Bug 492105 - [ActivityDiagram] Double-click on CallBehaviorAction tries to create diagram for that Action
Summary: [ActivityDiagram] Double-click on CallBehaviorAction tries to create diagram ...
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-20 11:35 EDT by Johan Van Noten CLA
Modified: 2017-08-02 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Van Noten CLA 2016-04-20 11:35:55 EDT
Scenario:
* Create an Activity 
* Create an Activity Diagram
* Add a CallBehaviorAction and allow it to create an Activity Sub1 "on-the-fly".
* Double-click the CallBehaviorAction

Result:
* Papyrus asks whether everything is saved (by design? is this necessary?)
* Papyrus creates a diagram below the CallBehaviorAction. The diagram shows an exclamation mark in the model explorer, but cannot be opened. 

Proposed solution:
A CallBehaviorAction should not the 'modelElement' for a diagram (although it could according to the UML spec B2.2).The diagram should be created below the Sub1 Activity instead.