Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356736 - [SysML Block Definition Diagram] Drag & Drop of properties from model to a diagram won't be saved persistent
Summary: [SysML Block Definition Diagram] Drag & Drop of properties from model to a di...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: SR1   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 11:22 EDT by Wolfgang Mising name CLA
Modified: 2011-11-25 04:54 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Mising name CLA 2011-09-05 11:22:36 EDT
Build Identifier: 20110615-0604 (Indigo)

Properties inserted from model explorer via drag & drop in the properties compartment of a SysML block in a diagram cannot be saved.

The problem occurs only with Eclipse Indigo! In Eclipse Helios it works fine. The problem was investigated with the following versions of Papyrus: 0.8.0 and 0.8.1.

The only possibility to insert a property is to use the palette on the right hand side, directly inserted in the diagram. These properties are saved to the project. But when you remove the property from the diagram of the SysML block and keep it in the model and you want to reinsert it again in the diagram from the model explorer, this cannot be saved to the project at all.


Reproducible: Always

Steps to Reproduce:
1. Create a property element (for example a property in a SysML-Block) in the model explorer with the context menu: "New Child" -> "Create a new Property".
2. Put the new property via drag and drop to the property compartment of the associated block in a block definition diagram. -> this is shown correctly.
3. The Problem occurs when you save the diagram/model, close the whole model and reopen it: the property is not shown any longer in the diagram, but still exists in the model explorer.
Comment 1 Yann Tanguy CLA 2011-09-08 09:47:24 EDT
Fixed in 0.8.1 (r5405) and trunk (r5406).

Views created during drop where erroneously created as non-persistent views. Some erroneous custom drop command in IBD have also been fixed.
Comment 2 Yann Tanguy CLA 2011-11-25 04:40:52 EST
Also occurs when showing property using "Show contents" dialog (F4).
Comment 3 Yann Tanguy CLA 2011-11-25 04:54:04 EST
Fixed in r6292 (0.8.X) and r6293 (trunk).