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

Bug 453281

Summary: Log error on intersection mapping expression evaluation
Product: [Modeling] Sirius Reporter: Nathalie Lepine <nathalie.lepine>
Component: TableAssignee: Project Inbox <sirius.table-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: belqassim.djafer, florian.barbin, jessy.mallet, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M5   
Hardware: PC   
OS: Windows 7   
Whiteboard: trivial, flash, newbie

Description Nathalie Lepine CLA 2014-11-26 05:12:39 EST
In DTableSynchronizerImpl.refreshIntersectionMappingWithoutDomain, the column finder expression does not log any errors if the expression is not correct. It will be nice to log the EvaluationException in the error log.

try {
    columnSemantics = interpreter.evaluateCollection(line.getTarget(), iMapping.getColumnFinderExpression());
} catch (final EvaluationException e) {
   columnSemantics = new ArrayList<EObject>(0);
}
Comment 1 Jessy Mallet CLA 2014-12-03 08:08:42 EST
currently working on it
Comment 2 Jessy Mallet CLA 2014-12-11 05:30:43 EST
wating for review : 
https://git.eclipse.org/r/#/c/37684/
Comment 3 Pierre-Charles David CLA 2015-01-27 03:50:52 EST
Fixed by 45e4e48632243151a3a429539f8cbe4000f9500b.
Comment 4 Belqassim Djafer CLA 2015-04-09 11:20:42 EDT
Verified on Sirius 3.0.0M6
Comment 5 Pierre-Charles David CLA 2015-06-24 11:17:08 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.