[
https://issues.apache.org/jira/browse/UNOMI-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Jahanshahi updated UNOMI-515:
-----------------------------------
Description:
The sourceEventPropertyConditionEvaluator is not working when evaluating events.
It's only capable of evaluating the inner "source" items.
I propose a simple improvement to detect if the evaluated item is an Event,
then evaluate the inner source object of the Event.
Small PR, but useful to make this conditions working when events are triggered.
PR: [https://github.com/apache/unomi/pull/351]
was:
The sourceEventPropertyConditionEvaluator is not working when evaluating events.
It's only capable of evaluating the inner "source" items.
I propose a simple improvement to detect if the evaluated item is an Event,
then evaluate the inner source object of the Event.
Small PR, but useful to make this conditions working when events are triggered.
PR:
> sourceEventPropertyConditionEvaluator not working when evaluating events
> ------------------------------------------------------------------------
>
> Key: UNOMI-515
> URL: https://issues.apache.org/jira/browse/UNOMI-515
> Project: Apache Unomi
> Issue Type: Bug
> Affects Versions: 1.5.7
> Reporter: Kevan Jahanshahi
> Priority: Major
> Fix For: 2.0.0, 1.6.0
>
>
> The sourceEventPropertyConditionEvaluator is not working when evaluating
> events.
> It's only capable of evaluating the inner "source" items.
> I propose a simple improvement to detect if the evaluated item is an Event,
> then evaluate the inner source object of the Event.
> Small PR, but useful to make this conditions working when events are
> triggered.
> PR: [https://github.com/apache/unomi/pull/351]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)