Red Hat Bugzilla – Bug 971282
Evaluator 'str' does not work wit logical or
Last modified: 2014-08-06 16:16:44 EDT
Description of problem:
When using multiple constraints connected with logical or, the rules can't be compiled. The compiler complains that DefaultFactHandle can't be cast to String.
Version-Release number of selected component (if applicable):
Drools 6.0.0.Beta3, Drools master (2013-06-06)
Pull request with the test submitted on Github
Steps to Reproduce:
1. run testStrWithLogicalOr JUnit test
Rules don't compile
Rules compile and correct number of rules are fired
It does not matter whether constraint with str evaluator is first or second.
Submitted as pull request #209
Mario Fusco <email@example.com> updated the status of jira DROOLS-169 to Resolved
Verified in BRMS.6.0.0.ER4