You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Francois Gerthoffert (Jira)" <ji...@apache.org> on 2023/03/21 13:43:00 UTC

[jira] [Updated] (UNOMI-682) Missing propertyValueBoolean in PropertyConditionEvaluator and PropertyConditionESQueryBuilder

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

Francois Gerthoffert updated UNOMI-682:
---------------------------------------
    Fix Version/s: unomi-2.3.0
                       (was: unomi-2.2.0)

> Missing propertyValueBoolean in PropertyConditionEvaluator and PropertyConditionESQueryBuilder
> ----------------------------------------------------------------------------------------------
>
>                 Key: UNOMI-682
>                 URL: https://issues.apache.org/jira/browse/UNOMI-682
>             Project: Apache Unomi
>          Issue Type: Bug
>          Components: unomi(-core)
>    Affects Versions: unomi-2.0.0
>            Reporter: Serge Huber
>            Priority: Minor
>             Fix For: unomi-2.3.0
>
>
> In the setPropertyAction we have the possibility to set a boolean property using the following parameter : 
> "setPropertyValueBoolean": true
> The problem is that when building conditions against this value we would need to have a propertyValueBoolean parameter for the profilePropertyCondition, but this one doesn't exist. We should add it in the PropertyConditionEvaluator and PropertyConditionESQueryBuilder classes to make this consistent and add integration tests for this as well.
> It seems that using a "propertyValue" : "true" should work as a workaround but it would be better to have the equivalent parameter for symmetry, especially when building tutorial documentation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)