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

Bug 508191

Summary: Wrong image for representation containing dangling
Product: [Modeling] Sirius Reporter: Guillaume Coutable <guillaume.coutable>
Component: CoreAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: normal    
Priority: P3 CC: jessy.mallet, julien.dupont, laurent.fasani, laurent.redor, maxime.porhel
Version: 4.1.0Keywords: triaged
Target Milestone: 5.0.0   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/85774
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b2ea5a03a120f8e71ae812f1e147c8fd7c2c19ee
https://git.eclipse.org/r/87620
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=834f0bba9a26edf0c31f185d7bf20445d53094a2
Whiteboard: backport
Bug Depends on:    
Bug Blocks: 509638    
Attachments:
Description Flags
Steps to reproduce
none
Table representation has a diagram image
none
Add an odesign none

Description Guillaume Coutable CLA 2016-11-25 09:05:14 EST
Created attachment 265583 [details]
Steps to reproduce

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 Guillaume Coutable CLA 2016-11-25 09:06:14 EST
Created attachment 265584 [details]
Table representation has a diagram image
Comment 2 Eclipse Genie CLA 2016-11-25 09:31:28 EST
New Gerrit change created: https://git.eclipse.org/r/85774
Comment 3 Laurent Fasani CLA 2016-11-28 08:20:05 EST
please could you provide an odesign to reproduce the issue. We can't rely on the fact that ecore tools is deployed to reproduce the issue.

Anyway this oodesign will be usefful to make an junit test.
Comment 4 Guillaume Coutable CLA 2016-12-01 12:35:43 EST
Created attachment 265684 [details]
Add an odesign
Comment 6 Maxime Porhel CLA 2016-12-22 06:26:49 EST
Resolved on master
Comment 7 Eclipse Genie CLA 2016-12-22 06:41:03 EST
New Gerrit change created: https://git.eclipse.org/r/87620
Comment 9 Jessy Mallet CLA 2017-05-18 11:54:21 EDT
Validated with Sirius 5.0.0.201705151305
Comment 10 Pierre-Charles David CLA 2017-06-29 03:31:45 EDT
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details.