]
Tomáš Schlosser updated JBRULES-3066:
-------------------------------------
Attachment: neq.drl
NeqTest.java
Person.java
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: Mark Proctor
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: