You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Don Hinshaw (JIRA)" <ji...@apache.org> on 2017/12/19 19:44:00 UTC

[jira] [Created] (UNOMI-145) EventPropertyCondition Segment Cannot Save Rule

Don Hinshaw created UNOMI-145:
---------------------------------

             Summary: EventPropertyCondition Segment Cannot Save Rule
                 Key: UNOMI-145
                 URL: https://issues.apache.org/jira/browse/UNOMI-145
             Project: Apache Unomi
          Issue Type: Bug
    Affects Versions: 1.2.0-incubating
            Reporter: Don Hinshaw


When creating the following segment, the initial step of putting all existing profiles into the segment works just fine.  But the rule that is used to put future profiles into the segment cannot be saved due to a NumberFomatException.

{code:java}

{
    "itemId": "test_segment",
    "itemType": "segment",
    "condition": {
        "parameterValues": {
            "eventCondition": {
                "parameterValues": {
                    "propertyName": "target.properties.test",
                    "comparisonOperator": "equals",
                    "propertyValue": "test_value"
                },
                "type": "eventPropertyCondition"
            }
        },
        "type": "pastEventCondition"
    },
    "metadata": {
        "id": "test_segment",
        "name": "Test Segment",
        "description": "This is a Test Segment",
        "scope": "systemscope",
        "tags": [
            "Test"
        ],
        "enabled": true,
        "missingPlugins": false,
        "hidden": false,
        "readOnly": false
    }
}

{code}






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)