| Summary: | Representation disappears from Model Explorer on session reload | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> |
| Component: | Core | Assignee: | Laurent Redor <laurent.redor> |
| Status: | CLOSED FIXED | QA Contact: | Maxime Porhel <maxime.porhel> |
| Severity: | normal | ||
| Priority: | P3 | CC: | belqassim.djafer, esteban.dugueperoux, florian.barbin, laurent.redor, maxime.porhel |
| Version: | 2.0.0 | Keywords: | triaged |
| Target Milestone: | 2.0.3 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=400891 | ||
| Whiteboard: | |||
| Bug Depends on: | 452681 | ||
| Bug Blocks: | |||
|
Description
Laurent Redor
Gerrit is available here: https://git.eclipse.org/r/39781 Fixed by commit 4ee7bdf1a94fddc934ea1deea627857eedd3e9a1 on v2.0.x branch KO on Sirius Stable pre-2.0.3 (2.0.3-S20150116-162634) Belqassim, could you precise your errors ? (In reply to Maxime Porhel from comment #4) > Belqassim, could you precise your errors ? When I modified the semantic model by using the editor, the representation file dispears from the Model Explorer view after session reload (after saving the model). The fix is OK on Juno but is KO on Luna. There is probably a change in org.eclipse.emf.ecore.util.ECrossReferenceAdapter. Indeed, since the bugzilla 400891, the proxyMap is no longer used if the resolve() method returns true. In this case, we must iterate on all crossReferences to retrieve corresponding proxies. Test has been added with commit http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?h=v2.0.x&id=501c972a0a5a76ff969cd85aca6f0101d55ccc3d Validated on Sirius Stable pre-2.0.3 (2.0.3.201501210822) Available in Sirius 2.0.3. |