[
https://issues.apache.org/jira/browse/UNOMI-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber updated UNOMI-682:
------------------------------
Description:
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.
was:
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.
> 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.0.1
>
>
> 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)