[
https://issues.apache.org/jira/browse/UNOMI-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber resolved UNOMI-411.
-------------------------------
Fix Version/s: 1.5.5
Resolution: Fixed
> Fix bug in property condition evaluator
> ---------------------------------------
>
> Key: UNOMI-411
> URL: https://issues.apache.org/jira/browse/UNOMI-411
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Liat
> Priority: Major
> Fix For: 1.5.5
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When querying using "exist" operator in Condition, an existQuery is created
> and sent to Elasticsearch. According to ES documentation, exist return false
> the the field in null or empty list - "[]".
> The case of an empty list wasn't handled in the eval() method of property
> condition evaluator. Need to return false if the field exist but has a value
> which is empty list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)