Paul created UNOMI-335:
--------------------------

             Summary: StackOverflowException issued by dummy Rule
                 Key: UNOMI-335
                 URL: https://issues.apache.org/jira/browse/UNOMI-335
             Project: Apache Unomi
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.0
            Reporter: Paul


h2. Overview

Yesterday, I submitted to our test environment with this rule and go 
StackOverflow exception. It created recursively event.target.target.target to 
fire ruleFired event.

If we accidentally create rule with this Condition, Unomi core will raise 
StackOverflowException
{code:java}
// code placeholder
{
    "metadata": {
        "id": "bufferEvent",
        "name": "bufferEvent Event",
        "description": "bufferEvent Event",
        "readOnly": false
    },
    "condition": {
        "type": "eventPropertyCondition",
        "parameterValues": {
            "itemType": "event"
        }
    },
    "actions": [
        {
            "type": "xxxx"
        }
    ]
}
{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to