Bug 574292 - Constraint filtering does not work if EMF Intrinsic Constraints are enabled
Summary: Constraint filtering does not work if EMF Intrinsic Constraints are enabled
Status: CLOSED MOVED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Validation Runtime Extensions (show other bugs)
Version: 0.11.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 0.12.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 03:43 EDT by Snejana Bisa CLA
Modified: 2024-05-08 14:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snejana Bisa CLA 2021-06-18 03:43:36 EDT
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<IConstraintFilter>) 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.
Comment 1 Balazs Grill CLA 2024-05-07 00:58:00 EDT
This issue will be migrated to gitlab.
Comment 2 Eclipse Webmaster CLA 2024-05-08 14:58:20 EDT
This issue has been migrated to https://gitlab.eclipse.org/eclipse/sphinx/org.eclipse.sphinx/-/issues/5.