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

Bug 508135

Summary: Dangling reference on DNode.outgoingEdges and incomingEdges after undo on Edge creation tool
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: CoreAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Pierre Guilet <pierre.guilet>
Severity: normal    
Priority: P3 CC: julien.dupont, laurent.redor, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.1.8   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/85714
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=605dee44afab884e9cf545138edf99b976cfbb00
https://git.eclipse.org/r/85851
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=33bddafbffcbb739c0937cfaaca7fbaa8cd05528
Whiteboard:
Bug Depends on: 508106, 508138, 508164    
Bug Blocks:    

Description Florian Barbin CLA 2016-11-24 11:27:09 EST
+++ This bug was initially created as a clone of Bug #508106 +++

Steps to reproduce:

* Import the attached test case and open the diagram "new Package"
* Create an edge between ClassA and ClassB with the edge creation tool.
* The edge is removed by the refresh => OK
* Perform undo
* With the Model requests interpreter view, select the ClassA Node and test this expression: aql:self.getOutgoingEdges
* A DEdge (detached from its parent) appears => KO
Comment 1 Eclipse Genie CLA 2016-11-24 12:25:07 EST
New Gerrit change created: https://git.eclipse.org/r/85714
Comment 3 Eclipse Genie CLA 2016-11-28 05:13:11 EST
New Gerrit change created: https://git.eclipse.org/r/85851
Comment 5 Pierre-Charles David CLA 2017-01-03 10:41:02 EST
Available in Sirius 3.1.7.
Comment 6 Laurent Redor CLA 2017-01-23 05:39:10 EST
Not available in 3.1.7 (it was committed after the release)
Comment 7 Pierre-Charles David CLA 2017-04-12 04:58:35 EDT
Available in Sirius 3.1.8, see https://wiki.eclipse.org/Sirius/3.1.8 for details.