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

Bug 462958

Summary: [Communication] Drag-and-drop multiple messages creates multiple edges
Product: [Modeling] Papyrus Reporter: Christian Damus <give.a.damus>
Component: DiagramAssignee: Christian Damus <give.a.damus>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 1.1.0   
Target Milestone: M6   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=32d10df9853e77638ba1a35ee710af78295ba085
Whiteboard:
Bug Depends on:    
Bug Blocks: 433206    

Description Christian Damus CLA 2015-03-24 09:39:06 EDT
Papyrus Mars M5

Dragging and dropping multiple messages between the same pair of lifelines from the Model Explorer can result in as many connectors between the lifelines, instead of just one with connector with multiple message labels.

Steps to reproduce:

1. Create an interaction with two lifelines and some messages back and forth
   between them.
2. Create a new Communication Diagram for this interaction.
3. Drag and drop the two lifelines onto the new diagram.
4. Select all of the messages in the interaction in the Model Explorer and drag
   and drop them onto the diagram.
5. Observe that each message is on its own connector, instead of all messages being
   one one connector.

This is a problem for canonical communication diagrams, because as they rely on the drop edit policy to create views, they end up with extraneous message paths.
Comment 1 Christian Damus CLA 2015-03-24 09:39:32 EDT
I have a fix in hand.
Comment 2 Christian Damus CLA 2015-03-24 09:49:18 EDT
A fix is pushed to master.