Project

General

Profile

Actions

Bug #20278

closed

Error when creating a rule in 7.0

Added by Nicolas CHARLES about 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

When creating a rule we get a big error notification that says

Error when Saving Rule,details: 
Invalid response: Problem with the value at json.data.rules[0]:

    {
        "id": "501659f0-f83c-42a0-93e1-504f4bcb73ef",
        "displayName": "dddddd",
        "categoryId": "rootRuleCategory",
        "shortDescription": "",
        "longDescription": "",
        "directives": [],
        "targets": [
            {
                "include": {
                    "or": []
                },
                "exclude": {
                    "or": []
                }
            }
        ],
        "enabled": true,
        "system": false,
        "tags": []
    }

Expecting an OBJECT with a field named `status`
Response Body: {"action":"createRule","id":"501659f0-f83c-42a0-93e1-504f4bcb73ef","result":"success","data":{"rules":[{"id":"501659f0-f83c-42a0-93e1-504f4bcb73ef","displayName":"dddddd","categoryId":"rootRuleCategory","shortDescription":"","longDescription":"","directives":[],"targets":[{"include":{"or":[]},"exclude":{"or":[]}}],"enabled":true,"system":false,"tags":[]}]}}

yet it works

Actions

Also available in: Atom PDF