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

Bug 480847

Summary: SessionEditorInput.saveState() should save correct URI in memento
Product: [Modeling] Sirius Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: CoreAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.redor
Version: 3.0.0Keywords: triaged
Target Milestone: 3.1.2   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/59092
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4746fd5a29c6d3798ab3d29dc82cedf3ca2ad93b
Whiteboard:

Description Esteban DUGUEPEROUX CLA 2015-10-28 05:33:00 EDT
Since SessionEditorInput's uri is now computed by the URIEditorInput.getURI() override, the SessionEditorInput.saveState() should save the correct uri in memento by calling SessionEditorInput.getURI() instead of saving URIEditorInput.uri field.

There is no Sirius scenario to reproduce this problem, it is a technical issue.
Comment 1 Esteban DUGUEPEROUX CLA 2015-10-28 05:33:45 EDT
This bug is descendant of Bug 471456.
Comment 2 Eclipse Genie CLA 2015-10-28 05:37:06 EDT
New Gerrit change created: https://git.eclipse.org/r/59092
Comment 4 Esteban DUGUEPEROUX CLA 2015-10-30 11:04:41 EDT
Fix merged.
Comment 5 Esteban DUGUEPEROUX CLA 2015-11-02 03:59:24 EST
Resolved.
Comment 6 Pierre-Charles David CLA 2015-11-10 08:13:11 EST
Available in Sirius 3.1.2.