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

Bug 509912

Summary: Validation of interpreted expression is not triggered on some of the properties.ecore types
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: PropertiesAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: normal    
Priority: P3 CC: cedric.brun, jessy.mallet, laurent.fasani, maxime.porhel, pierre-charles.david
Version: 4.1.0Keywords: triaged
Target Milestone: 4.1.3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 509866    
Bug Blocks:    

Description Pierre-Charles David CLA 2017-01-04 04:21:40 EST
+++ This bug was initially created as a clone of Bug #509866 +++

Steps to reproduce: 
- import the project, validate the .odesign
=> result: validation is ok

expected result: we should get a validation error on the "Value expression" of the "Class" list widget as the expression refers to a non existing service: 

aql:self.nonExistingService(ecore::EClass)
Comment 1 Pierre-Charles David CLA 2017-01-04 04:22:01 EST
Clone to report the fix on master for Sirius 5.0.
Comment 2 Pierre-Charles David CLA 2017-01-11 16:02:29 EST
My mistake; the original ticket (#509866) targets master/5.0, this one is for the backport on the 4.1.x branch for Sirius 4.1.3.
Comment 3 Pierre-Charles David CLA 2017-01-13 04:11:24 EST
Fixed by 60a1d9e2d002e7173482b3b1f98d2822982d94a1.
Comment 4 Jessy Mallet CLA 2017-01-17 10:12:23 EST
validated with Sirius 4.1.3.201701161809
Comment 5 Pierre-Charles David CLA 2017-01-31 03:48:40 EST
Available in Sirius 4.1.3, see https://wiki.eclipse.org/Sirius/4.1.3 for version details.