You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Liat (Jira)" <ji...@apache.org> on 2020/12/19 17:54:00 UTC

[jira] [Updated] (UNOMI-411) Fix bug in property condition evaluator

     [ https://issues.apache.org/jira/browse/UNOMI-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liat updated UNOMI-411:
-----------------------
    Summary: Fix bug in property condition evaluator  (was: Fix bug in profile property condition evaluator)

> 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
>
> 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 profile 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)