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

Bug 475819

Summary: Label of viewpoint not used when providing viewpoint selection window
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Pierre-Charles David <pierre-charles.david>
Severity: normal    
Priority: P3 CC: esteban.dugueperoux, maxime.porhel, pierre-charles.david, wilbert.alberts
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.1   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/54494
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=89cbaeda8250006a41d9cbe3684a46043bf31a70
Whiteboard:
Bug Depends on: 464254    
Bug Blocks:    

Description Pierre-Charles David CLA 2015-08-25 10:37:14 EDT
+++ This bug was initially created as a clone of Bug #464254 +++

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 Pierre-Charles David CLA 2015-08-25 10:37:32 EDT
Clone to backport the fix for Sirius 3.0.1.
Comment 2 Eclipse Genie CLA 2015-08-25 10:51:56 EDT
New Gerrit change created: https://git.eclipse.org/r/54494
Comment 4 Pierre-Charles David CLA 2015-09-02 04:13:03 EDT
Fixed by 89cbaeda8250006a41d9cbe3684a46043bf31a70.
Comment 5 Pierre-Charles David CLA 2015-09-07 04:30:04 EDT
Verified in 3.0.1.201509020834 (part of Mars.1 RC2 modeling package).
Comment 6 Pierre-Charles David CLA 2015-12-15 05:22:24 EST
Available in Sirius 3.0.1 released on 2015-09-10.