Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313164

Summary: [Composite Structure Diagram] Ports are misplaces after drag&drop of connectors
Product: [Modeling] Papyrus Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: yann.tanguy
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Ansgar Radermacher CLA 2010-05-17 11:16:08 EDT
Build Identifier: Build id: 20100506-2000

Context: Drag&drop an existing connector from the model explorer into a composite class within a composite diagram:
If the ports referenced by the connector have not yet been added to the diagram, the ports are randomly placed *outside* the parts to which they belong.
Worse: once added this way, the ports can not be moved to the parts to which they belong. They need to be removed from the diagram.

The behavior does not depend on adding the referenced parts before or not. A general rule should be that dependend elements should either be created in the diagram as needed (unless already existent, of course), or the dragging should be refused unless the user has added them before.


Reproducible: Always

Steps to Reproduce:
1. Create a new composite structure diagram
2. Select an existing connector in a model (that connects the ports of two parts within a composite)
3. Drag connector into the diagram
Comment 1 Vincent Lorenzo CLA 2010-06-24 08:36:21 EDT
Corrected in r2078.