[jboss-jira] [JBoss JIRA] (JBRULES-3095) MVEL equality is not working as in 5.1.1

Tibor Zimányi (JIRA) issues at jboss.org
Tue Jul 10 09:39:00 EDT 2018


     [ https://issues.jboss.org/browse/JBRULES-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Zimányi closed JBRULES-3095.
----------------------------------
    Resolution: Out of Date


This project is not active anymore. The current active project is "DROOLS". Closing this.

> MVEL equality is not working as in 5.1.1
> ----------------------------------------
>
>                 Key: JBRULES-3095
>                 URL: https://issues.jboss.org/browse/JBRULES-3095
>             Project: JBRULES
>          Issue Type: Feature Request
>    Affects Versions: 5.2.0.CR1, 5.3.0.Beta1
>            Reporter: Mauricio Salatino
>            Assignee: Mario Fusco
>             Fix For: 6.0.0.Alpha1
>
>         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 was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list