Faulty scoping over the borders of components
Build a component ‘A’ with a port ‘a’ and a child component of A called ‘B’ with only one port ‘b’.
If component ‘B’ has a state automaton, then from the guards of its transitions one can access directly port ‘a’ from the super-component.
Problem is the function “VariableScopeUtils::getVarDefinition(VarBase variable, EObject context)” which does not stop at the first component and continues to search for bindings also above it.
(from redmine: issue id 964, created on 2012-08-22, closed on 2016-01-25)