[jboss-jira] [JBoss JIRA] (JBRULES-3095) MVEL equality is not working as in 5.1.1
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Wed Feb 1 05:25:58 EST 2012
[ https://issues.jboss.org/browse/JBRULES-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated JBRULES-3095:
--------------------------------------
Fix Version/s: 5.4.0.Beta3
(was: 5.4.0.Beta2)
> MVEL equality is not working as in 5.1.1
> ----------------------------------------
>
> Key: JBRULES-3095
> URL: https://issues.jboss.org/browse/JBRULES-3095
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 5.2.0.CR1, 5.3.0.Beta1
> Reporter: Mauricio Salatino
> Assignee: Mark Proctor
> Fix For: 5.4.0.Beta3
>
> Attachments: MvelEquality.zip
>
>
> There is a different behavior caused by what I think is an MVEL regretion in the version that it's being used in 5.3.0.SNAPSHOT.
> Patient( groupName == "ceftazidime susc islt" || groupName == "ceftfsdfsazidime susc islt") // this doesn't work
> and
> Patient( groupName == "ceftazidime susc islt") // This works!!
> The field groupName is an Object that overrides the method equals following the java convention for comparing objects.
> I'm attaching an isolated unit test showing this problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list