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

Bug 444911

Summary: Update VSM validation to check IDs
Product: [Modeling] Sirius Reporter: Frederic Madiot <frederic.madiot>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: maxime.porhel, pierre-charles.david
Version: 1.0.1Keywords: triaged
Target Milestone: 3.0.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Frederic Madiot CLA 2014-09-24 03:41:53 EDT
Validation does not check empty Ids (Viewpoint, Diagram Description, Container, etc).
Comment 1 Maxime Porhel CLA 2014-09-29 04:29:17 EDT
Steps to reproduce:
* Open or create a VSM
* Create all sub types of IdentifiedElementQuery
* Right-clic > Validate on each element and on the Group element.
Comment 2 Maxime Porhel CLA 2014-09-29 04:30:37 EDT
The attribute displayed as an ID in the property view is the IdentifiedElement#name attribute. (See org.eclipse.sirius.viewpoint.description.IdentifiedElement.getName())

A simple unique validation rule on IdentifiedElement#name could solve the current issue.
Comment 3 Pierre-Charles David CLA 2017-03-16 04:26:27 EDT
This seems to have been fixed by https://git.eclipse.org/r/#/c/39055/ for bug #453545.