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:51:00 UTC
[jira] [Created] (UNOMI-411) Fix bug in profile property condition
evaluator
Liat created UNOMI-411:
--------------------------
Summary: Fix bug in profile property condition evaluator
Key: UNOMI-411
URL: https://issues.apache.org/jira/browse/UNOMI-411
Project: Apache Unomi
Issue Type: Bug
Reporter: Liat
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)