Community
Participate
Working Groups
If i've traverse a collection with elements and access a property which returns null, the next calls to the elements in this list breaks the workflow. For example: MyListProperty.ThePropertyWhichIsNullForAllElementsInTheList.shortName; causes a: AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.eclipse.xpand2.Generator: EvaluationException : Couldn't find property 'shortName' for inner type Void' As workaround I can use: MyListProperty.ThePropertyWhichIsNullForAllElementsInTheList.collect(e|e.shortName); which returns the List with null-Elements. But this should be the default behaviour also in short Syntax as in the example above.
Fixed with bug#386253 Added test case EvaluationTest#testFeatureCallReturningNull() *** This bug has been marked as a duplicate of bug 386253 ***
Part of Kepler M4 (Version 1.3.0)
Requested via bug 522520. -M.