Actions
Bug #16164
closedWe cannot get the rules categories with the API
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
# curl -k "https://localhost/rudder/api/latest/rules/tree?prettify=true" -H "X-API-Token: $(cat /var/rudder/run/api-token)" { "action": "ruleDetails", "id": "tree", "result": "error", "errorDetails": "Could not get Rule tree details cause is: Could not find Rule tree."
it is looking for rules with id tree ...
Updated by Nicolas CHARLES about 5 years ago
- Related to Bug #12712: API generate error 500 when try update a ruleCategory added
Updated by Nicolas CHARLES about 5 years ago
trying to get a Category that is not just below rootCategorie fails also
# curl -k "https://localhost/rudder/api/latest/rules/categories/ce4c7039-918e-4d06-9c9a-d9dfedee83fa?prettify=true" -H "X-API-Token: $(cat /var/rudder/run/api-token)" { "action": "getRuleCategoryDetails", "result": "error", "errorDetails": "Could not fetch Rule category '3ce4c7039-918e-4d06-9c9a-d9dfedee83fa' details <- could not find category '3ce4c7039-918e-4d06-9c9a-d9dfedee83fa' in category 'rootRuleCategory' <- cannot find parent category of ID '3ce4c7039-918e-4d06-9c9a-d9dfedee83fa'"
Updated by Nicolas CHARLES about 5 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES about 5 years ago
Work in progess here: https://github.com/ncharles/rudder/commit/b385483a129bc1aa621b17985c71197d44c15a21
Updated by Nicolas CHARLES about 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/2587
Updated by Nicolas CHARLES about 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|d76f3785e7d97e28700bc283657f9a3314383767.
Updated by Alexis Mousset about 5 years ago
- Name check changed from To do to Reviewed
Updated by Nicolas CHARLES about 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.15 which was released today.
Actions