[
https://issues.jboss.org/browse/JBRULES-3066?page=com.atlassian.jira.plug...
]
Edson Tirelli resolved JBRULES-3066.
------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Fix Version/s: 5.2.1.Final
5.3.0.Beta1
Resolution: Done
MVELClassFieldReader was not properly implementing the equals/hashCode methods, making
node sharing wrong. Fixed.
Null comparison broken when accessing map content
-------------------------------------------------
Key: JBRULES-3066
URL:
https://issues.jboss.org/browse/JBRULES-3066
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.2.0.CR1
Reporter: Tomáš Schlosser
Assignee: Edson Tirelli
Fix For: 5.2.1.Final, 5.3.0.Beta1
Attachments: neq.drl, NeqTest.java, Person.java
Comparing item from map to null (to see if given key has a value) gives wrong results.
The example included results in:
has mother
has father
has mother (using not)
has father (using not)
Whereas the right result should be (as is in 5.1):
doesn't have mother
has father
doesn't have mother (using not)
has father (using not)
Since the value for for key "mother" is not defined.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira