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

Bug 519324

Summary: 'if' variable invalid in the dynamic mapping for extension filtering expression
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: PropertiesAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: melanie.bats, pierre-charles.david
Version: 5.0.0Keywords: triaged
Target Milestone: 5.0.2   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/102600
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c9766c5c3c431ff4773e8448250f48cd34b14270
Whiteboard:
Bug Depends on: 519322    
Bug Blocks:    

Description Pierre-Charles David CLA 2017-07-06 10:50:01 EDT
+++ This bug was initially created as a clone of Bug #519322 +++

To reproduce, create a dynamic mapping for element which extends another dynamic mapping for. The ntry to enter an Ifs Filtering Expression. The name of the variable to filter the ifs is : 'if'. AQL does not like a variable named if as it is parsing it as a condition instead of a variable.
Comment 1 Pierre-Charles David CLA 2017-07-06 10:50:23 EDT
Clone to report the fix on v5.0.x branch (for 5.0.2).
Comment 2 Eclipse Genie CLA 2017-08-07 08:36:39 EDT
New Gerrit change created: https://git.eclipse.org/r/102600
Comment 4 Pierre-Charles David CLA 2017-08-16 05:07:01 EDT
Fixed by c9766c5c3c431ff4773e8448250f48cd34b14270.
Comment 5 Pierre-Charles David CLA 2017-09-11 09:41:20 EDT
Verified on 5.0.2rc2.
Comment 6 Pierre-Charles David CLA 2017-09-11 10:07:48 EDT
Available in Sirius 5.0.2.