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

Bug 434197

Summary: Service Interpreter does not correctly manage expression that ends with whitespace
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: normal    
Priority: P3 CC: esteban.dugueperoux, julien.dupont, pierre-charles.david
Version: 1.0.0M6Keywords: triaged
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard: trivial

Description Laurent Redor CLA 2014-05-06 07:23:17 EDT
If an expression ends with a whitespace, it is not correctly evaluated. For examples:
* "service:myService" is OK and "service:myService " is KO
* "service:myService(var1, var2)" is OK and * "service:myService(var1, var2) " is KO
Comment 1 Laurent Redor CLA 2014-05-06 07:54:35 EDT
I proposed a fix here: https://git.eclipse.org/r/#/c/26036/
Comment 2 Esteban DUGUEPEROUX CLA 2014-05-09 12:26:27 EDT
FeatureInterpreterTests/ServiceInterpreterTests/VariableInterpreterTests could be completed to test these cases.
Comment 3 Laurent Redor CLA 2014-05-12 10:05:15 EDT
Fix through commit eb9c4da96bf29dd99cd25ab59ca26db9b78c7721
Comment 4 Pierre-Charles David CLA 2014-06-25 10:15:05 EDT
Available in Sirius 1.0.0.