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

[kie-issues#941] Ignore constraint in parentheses that is bound to a variable #5750

Merged
merged 4 commits into from
Feb 28, 2024

Conversation

baldimir
Copy link
Contributor

This PR aligns the executable model behaviour with non-executable model behaviour, where constraints like this:
Person($booleanVariable: (name != null))
are ignored in rule evaluation.

Additional fix for issue: apache/incubator-kie-issues#941

@mariofusco mariofusco merged commit f916618 into apache:main Feb 28, 2024
7 of 9 checks passed
baldimir added a commit to baldimir/drools that referenced this pull request Feb 28, 2024
…variable (apache#5750)

* Add a test case

* Ignore a predicate when it is enclosed and bound to a variable.

* Move the isEnclosedPredicateBoundToVariable to the SingleDrlxParseSuccess

* Fix typos

(cherry picked from commit f916618)
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Mar 11, 2024
…variable (apache#5750)

* Add a test case

* Ignore a predicate when it is enclosed and bound to a variable.

* Move the isEnclosedPredicateBoundToVariable to the SingleDrlxParseSuccess

* Fix typos
@baldimir baldimir deleted the ignore-constraint-in-parentheses branch April 11, 2024 08:20
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.

3 participants