Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Set Constraints without objects are not evaluated #118

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Philippluca
Copy link
Contributor

TODOs:

  • Evaluation of Class references >MyClass may not be evaluated correctly. (evaluateObjectCount)
  • Ensure INTERLIS 2.3 & 2.4 Spec does not allow referencing single objects or Attribute/Role paths in SET CONSTRAINTs
    • Tests: Ensure SET CONSTRAINT do not reference singular attributes / objects

Refactoring validateSetConstraint
- Enables evaluation of Constraints without corresponding objects in allObjects
- Avoid multiple logs of same error log when configured log message is available.
- Evaluate SET Constraints on SET not each element.
- Evaluate polygons under test successively
- Reuse duplicated code
- SET CONSTRAINTS may not operate on individual elements (use Mandatory constraints on Objects)
- Update test expectations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant