ConstraintCheckerService does not perform all registered ConstaintChecks
The ConstraintCheckerService uses org.fortiss.tooling.kernel.service.base.ObjectAwareServiceBase.getRegisteredHandlers(Class<?> modelElementClass) to get the registered checkers for a model element.
However this method only retrieves the first handler, that is found (Comment in the Java file: “…IMPORTANT: this method only returns the first registered handler which is found….”)
Is this really the intended behavior?
In SFIT we have multiple checker for e.g. IParts:
Those are literals for presence conditions (ILiteralReferncable) and
need to be checked for syntactical correctness. And they can be
variation points that need to be checked for semantical consistency.
However only of the checkers is performed.
Note, that these checks need to be implemented independently, since
there are also other literals as Features, while the semantic check is
specific to IPart.
(from redmine: issue id 2667, created on 2016-08-03)