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

Bug 525919

Summary: Reconnect tool does not remove the reference to the old target
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: utkudemir96
Version: 5.1.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
bugReconnectEdge.zip none

Description Laurent Fasani CLA 2017-10-12 07:26:16 EDT
Created attachment 270950 [details]
bugReconnectEdge.zip

This issue was reported on the sirius forum : https://www.eclipse.org/forums/index.php/t/1089295/

Steps to reproduce
* import and open attached project bugReconnectEdge
* open the diagram
* from diagram reconnect target edge from E1 to E3
-> KO: a new reference to E3 is added on E2(that's ok) BUT the reference to E1 as still there as it should not.
Comment 1 Utku Demir CLA 2017-10-12 07:43:55 EDT
Thanks for the bug report @Laurent Fasani,

Firstly, I thought that the main reason of this problem was caused by the relational dependency but then i realized that even with a simple relation between two class has the same issue. So, I checked the Sirius/Tutorials many times and search the forums for any clue but nothing. I hope that, this is a simple bug and the team will fix it as soon as possible.
Comment 2 Laurent Fasani CLA 2017-10-12 09:21:25 EDT
Actually, the reconnect tool does not do any operation.
It is up the specifier to defined the whole operations to perform.

In that case, you have to add a unset operation of servertoserver with var:source