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

Bug 464254

Summary: Label of viewpoint not used when providing viewpoint selection window
Product: [Modeling] Sirius Reporter: Wilbert Alberts <wilbert.alberts>
Component: CoreAssignee: Belqassim Djafer <belqassim.djafer>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: normal    
Priority: P3 CC: esteban.dugueperoux, jessy.mallet, maxime.porhel, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: 3.1.0   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/51501
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f27001099fe1620b69a5db763e7d61dc6a595f70
Whiteboard:
Bug Depends on:    
Bug Blocks: 475819    

Description Wilbert Alberts CLA 2015-04-09 04:32:51 EDT
I've created a Viewpoint Specification Project containing a viewpoint with an ID called 'metamodel'. I gave it a label called 'Foo'. When creating a modeling project I have to select a viewpoint for that project. I would have expected that 'Foo' was presented to me but the window shows 'metamodel'. 

I think that this was working in the older versions of Sirius (1.x). However, the current version I'm using, 3.0.0, shows the value of the viewpoint's ID, not its label.

Greetings,
Wilbert.
Comment 1 Esteban DUGUEPEROUX CLA 2015-04-13 05:16:00 EDT
Indeed it is a regression, I have tested with Sirius 1.0.2 [1] and it works with this release.

Thanks for the feedback.


[1] https://wiki.eclipse.org/Sirius/1.0.2
Comment 2 Eclipse Genie CLA 2015-07-07 10:52:08 EDT
New Gerrit change created: https://git.eclipse.org/r/51501
Comment 4 Maxime Porhel CLA 2015-07-08 11:03:13 EDT
Resolved on master for Sirius 3.1.0
Comment 5 Jessy Mallet CLA 2015-09-28 08:42:06 EDT
Validated with Sirius 3.1.0.201509241504
Comment 6 Pierre-Charles David CLA 2015-10-16 09:09:20 EDT
Available in Sirius 3.1.0.