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
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ about 3 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4001
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder|e63fa8a84cbe360ff3aa1d19b75fba9afa597e29.
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~rc1 which was released today.
Actions