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

Bug 509638

Summary: Wrong image for representation containing dangling
Product: [Modeling] Sirius Reporter: Maxime Porhel <maxime.porhel>
Component: CoreAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: normal    
Priority: P3 CC: guillaume.coutable, julien.dupont, laurent.fasani, maxime.porhel
Version: 4.1.0Keywords: triaged
Target Milestone: 4.1.3   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/87622
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=521586bf74349f46601d1b1ddd5ce8ed7f542210
Whiteboard:
Bug Depends on: 508191    
Bug Blocks:    

Description Maxime Porhel CLA 2016-12-22 06:27:24 EST
+++ This bug was initially created as a clone of Bug #508191 +++

In the model explorer the image for a representation containing danglings could not be the expected gray light image. In a representation containing at least two danglings for at least two differents type of representations. The first image will be the good one but the second image will be the same as the first.

Steps to reproduce :
1- Import the TestTableImageDanglingRepresentation project as an existing project
2- Expand one of the two representation
3- Expand the second representation
4- The second image is the same as the first representation
Comment 1 Eclipse Genie CLA 2016-12-22 06:50:30 EST
New Gerrit change created: https://git.eclipse.org/r/87622
Comment 3 Maxime Porhel CLA 2017-01-03 09:25:51 EST
Correction has been cherry-picked from Bug 508191.
Bug 508191 also removed irrelevant internationalization of the key used to put the computed images in the image registry, this has not been reported on the 4.1.x maintenance branch this is not directly related to the initial issue.
Comment 4 Jessy Mallet CLA 2017-01-17 10:11:19 EST
validated with Sirius 4.1.3.201701161809
Comment 5 Pierre-Charles David CLA 2017-01-31 03:48:37 EST
Available in Sirius 4.1.3, see https://wiki.eclipse.org/Sirius/4.1.3 for version details.