Bug 971282 - Evaluator 'str' does not work wit logical or
Summary: Evaluator 'str' does not work wit logical or
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR6
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas Schlosser
Mario Fusco
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-06 07:56 UTC by Tomas Schlosser
Modified: 2014-08-06 20:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-169 0 Major Resolved Evaluator 'str' does not work wit logical or 2013-10-14 08:15:48 UTC

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


Note You need to log in before you can comment on or make changes to this bug.