Skip to content

Constraint filtering does not work if EMF Intrinsic Constraints are enabled

Bugzilla Link 574292
Status NEW
Importance P3 normal
Reported Jun 18, 2021 03:43 EDT
Modified May 07, 2024 00:58 EDT
Version 0.11.0

Description

Filtering of constraints does not work if the EMF intrinsic constraints are enabled.

What happens is the folowing:
org.eclipse.sphinx.emf.validation.evalidator.adapter.EValidatorAdapter.validate(EClass, EObject, DiagnosticChain, Map<Object, Object>, Set) calls org.eclipse.sphinx.emf.validation.evalidator.adapter.EValidatorAdapter.validateEMFRules(EClass, EObject, DiagnosticChain, Map<Object, Object>) without passing the filters.
Eventually,
org.eclipse.sphinx.emf.validation.evalidator.adapter.EValidatorAdapter.validate(EClass, EObject, DiagnosticChain, Map<Object, Object>) is called without the targeted filters.