Bug 534273 - The go to marker creates a new Sirius session
Summary: The go to marker creates a new Sirius session
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.0.0   Edit
Assignee: Laurent Redor CLA
QA Contact: Guillaume Coutable CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 509300 509970
Blocks:
  Show dependency tree
 
Reported: 2018-05-02 12:40 EDT by Laurent Redor CLA
Modified: 2018-06-27 11:55 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2018-05-02 12:40:19 EDT
+++ This bug was initially created as a clone of Bug #509970 +++

When performing a go to marker, the DDiagramEditorImpl.getCorrectInput translates the FIleEditorInput into SessionEditorInput. But the method org.eclipse.sirius.ui.business.api.session.SessionEditorInput.create(URI) creates a new Sirius Session from the session resource URI each time the go to marker is executed. Those sessions are never closed.
Comment 2 Guillaume Coutable CLA 2018-05-24 11:30:28 EDT
Validated with Sirius 6.0M7
Comment 3 Laurent Redor CLA 2018-06-27 11:55:16 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details