Bug 971282

Summary: Evaluator 'str' does not work wit logical or
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Schlosser <tschloss>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: unspecified Docs Contact: Mario Fusco <mfusco>
Priority: unspecified    
Version: unspecifiedCC: mfusco, rzhang
Target Milestone: DR6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:16:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Schlosser 2013-06-06 07:56:55 UTC
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)

How reproducible:
Pull request with the test submitted on Github

Steps to Reproduce:
1. run testStrWithLogicalOr JUnit test

Actual results:
Rules don't compile

Expected results:
Rules compile and correct number of rules are fired

Additional info:
It does not matter whether constraint with str evaluator is first or second.

Comment 1 Tomas Schlosser 2013-06-06 07:59:54 UTC
Submitted as pull request #209

Comment 2 JBoss JIRA Server 2013-06-14 15:34:46 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-169 to Resolved

Comment 7 Tomas Schlosser 2013-10-14 08:15:39 UTC
Verified in BRMS.6.0.0.ER4