[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-2917) matching of field==v1 || field==v2 breaks when variable binding is added
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Mon May 9 19:08:18 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli reassigned JBRULES-2917:
--------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
> matching of field==v1 || field==v2 breaks when variable binding is added
> ------------------------------------------------------------------------
>
> Key: JBRULES-2917
> URL: https://issues.jboss.org/browse/JBRULES-2917
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 5.2.0.M1
> Reporter: Wolfgang Laun
> Assignee: Edson Tirelli
> Priority: Critical
> Fix For: 5.2.0.M1
>
>
> class Assignment { Class source, target; }
> The following rule fails to match when target == java.lang.Object.class
> rule ObjectIsAssignable
> when
> Assignment( $t: target == (java.lang.Object.class) || target == source )
> then
> end
> The following rule fails to match when target == source
> rule ObjectIsAssignable
> when
> Assignment( $t: target == source || target == (java.lang.Object.class) )
> then
> end
> The error does not occur if the binding ($t) is omitted.
> See Workaround.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list