Actions
Bug #9741
closedCreating an empty group with no search criteria messes up GUI
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When creating a Group over the API with an empty node list, you cannot modify that group from the GUI, as the [+]
icon is missing...
API Call:
# curl -s -X GET -H "X-API-Token: $APIKEY" -X PUT https://${URL}/rudder/api/latest/groups \ > -d "category=5f2e3903-d3fe-40a4-8561-86017138e8ae" \ > -d 'displayName=api test new group name' \ > -d 'description=description of the new group' \ > -d 'query={ "select" : "node", "composition": "Or", "where": [] }' \ > -d 'id=8ecda055-094e-4b04-85ed-5c6235268ec7' | jq { "action": "createGroup", "id": "8ecda055-094e-4b04-85ed-5c6235268ec7", "result": "success", "data": { "groups": [ { "id": "8ecda055-094e-4b04-85ed-5c6235268ec7", "displayName": "api test new group name", "description": "description of the new group", "query": { "select": "node", "composition": "Or", "where": [] }, "nodeIds": [], "dynamic": true, "enabled": false, "isEnabled": false, "isDynamic": true } ] } }
=> This worked.
However, the GUI looked like this:
Files
Updated by François ARMAND about 8 years ago
- Translation missing: en.field_tag_list set to Next minor release
Updated by Vincent MEMBRÉ about 8 years ago
- Assignee set to Vincent MEMBRÉ
- Target version set to 3.1.17
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1395
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|1c76bafdf37aa61fbb7712effbde79606084d405.
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
Actions