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

Bug 458826

Summary: LazyCrossReferencer is not attached to semantic fragments
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: CoreAssignee: Laurent Fasani <laurent.fasani>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: belqassim.djafer, florian.barbin, laurent.redor, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M6   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/41138
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=637da94b5e0cbc404ee480d2a3f88aa8199ca025
Whiteboard:

Description Laurent Fasani CLA 2015-01-30 09:54:52 EST

    
Comment 1 Laurent Fasani CLA 2015-01-30 09:55:07 EST
I am working on it
Comment 2 Laurent Fasani CLA 2015-01-30 10:53:49 EST
session.getSemanticCrossReferencer is not attached to semantic controlled(fragment) resources

scenario:
- Create modeling modeling with a model which can be controlled
- Control a part of the semantic model (1)
- Save
- Close session
- ReOpen session (2)

=> At step (2), semantic cross referencer is attached to root aird, root semantic but is not attached to controlled semantic resource

Note:(CrossReferencer is also not attached at (1) step)
Comment 3 Laurent Redor CLA 2015-01-30 12:51:32 EST
How to validate that semantic cross referencer is attached to controlled semantic resource (except in debug mode)?
Comment 4 Laurent Fasani CLA 2015-02-03 04:49:33 EST
To answer comment 3:
The fix is technical. To validate the fix, ensure that testCase SiriusCrossReferenceAdapterTests.testDisablingCrossReferencerWhileReloadingResource() is OK
Comment 6 Laurent Fasani CLA 2015-03-19 12:43:32 EDT
fixed
Comment 7 Belqassim Djafer CLA 2015-04-13 09:33:08 EDT
Verified on Sirius 3.0.0M6
Comment 8 Pierre-Charles David CLA 2015-06-24 11:15:35 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.