Project

General

Profile

Bug #2667

ConstraintCheckerService does not perform all registered ConstaintChecks

Added by Andreas Bayha about 4 years ago. Updated 3 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
08/03/2016
Due date:
% Done:

0%

Estimated time:

Description

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.

History

#1 Updated by Andreas Bayha about 4 years ago

  • Target version changed from AF3 2.10 Bugs fixed to AF3 2.10 Post-release

#2 Updated by Anonymous over 3 years ago

  • Target version changed from AF3 2.10 Post-release to AF3 2.11 Post-release

#3 Updated by Anonymous over 2 years ago

  • Target version changed from AF3 2.11 Post-release to AF3 2.13 RC1 (Feature Freeze)

#4 Updated by Anonymous over 2 years ago

  • Assignee changed from Anonymous to Andreas Bayha

@Andreas: is it still of high priority? I probably won't have so much time to deal with this...

#5 Updated by Johannes Eder over 1 year ago

  • Target version changed from AF3 2.13 RC1 (Feature Freeze) to Backlog

#6 Updated by Johannes Eder over 1 year ago

  • Target version changed from Backlog to AF3 2.16 RC1 (Feature Freeze)

#7 Updated by Johannes Eder over 1 year ago

  • Target version changed from AF3 2.16 RC1 (Feature Freeze) to AF3 2.16 RC2 (Tested, Bug-free)

#8 Updated by Simon Barner about 1 year ago

  • Priority changed from High to Normal
  • Target version changed from AF3 2.16 RC2 (Tested, Bug-free) to AF3 2.17 (Feature Freeze)

#9 Updated by Johannes Eder 8 months ago

  • Target version changed from AF3 2.17 (Feature Freeze) to AF3 2.17 (Tested, Bug Free)

#10 Updated by Johannes Eder 6 months ago

  • Target version changed from AF3 2.17 (Tested, Bug Free) to AF3 2.18 - Critical bugs fixed

#11 Updated by Johannes Eder 3 days ago

  • Target version changed from AF3 2.18 - Critical bugs fixed to Backlog

Also available in: Atom PDF