Actions
Bug #20278
closedError when creating a rule in 7.0
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
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