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

Bug 475390

Summary: CreateRepresentationCommand works without selected Viewpoint
Product: [Modeling] Sirius Reporter: Max Schettler <max.schettler>
Component: CoreAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED DUPLICATE QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: florian.barbin, laurent.fasani, maxime.porhel
Version: 2.0.0Keywords: triaged
Target Milestone: 4.0.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Max Schettler CLA 2015-08-19 10:21:55 EDT
When executing the 'CreateRepresentationCommand' on a modeling project where the created representation`s viewpoint is not selected, the command creates a representation without selecting the viewpoint.
However, the representation is not usable, e.g. the palette is empty.

I`d expect the command to fail (or select the viewpoint).
Comment 1 Laurent Fasani CLA 2016-03-01 05:26:07 EST
This issue has been handled in bug 486330 in commit 
http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d462f5445529a04e9f33e9631a029cb4021b20c5

*** This bug has been marked as a duplicate of bug 486330 ***
Comment 2 Maxime Porhel CLA 2016-05-24 08:24:34 EDT
Validated on Sirius 4.0.0.201605180923 (4.0.0 RC1)
Duplicate of Bug 486330
Comment 3 Pierre-Charles David CLA 2016-06-24 08:01:00 EDT
Available in Sirius 4.0.0.