Actions
Bug #22400
openEmpty group criteria breaks UI for adding new criteria
Pull Request:
Severity:
UX impact:
It bothers me each time
User visibility:
Effort required:
Large
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
It seems like we cannot have an empty group criteria
To reproduce¶
- try to update "query" parameter to {} through the API.
- The group will have this query when you will get in through the API:
"query": { "select": "node", "composition": "a##nd", "where": [] },
- In the UI you cannot update add criteria anymore
Workaround¶
Try to add criteria through API, you can now modify and add new criteria in the UI
Files
Updated by Elaad FURREEDAN almost 2 years ago
- Related to Bug #22170: A new group display no nodes while all linux are selected added
Updated by Elaad FURREEDAN almost 2 years ago
I think we should be able to let query parameter empty, the minimal parameters for query parameter seems to be
"query": { "select": "node", "composition": "and", "where": [] },
But it seems that we want it to be really empty, so allowing:
"query": { "select": "", "composition": "", "where": [] },
Updated by Elaad FURREEDAN almost 2 years ago
- Effort required changed from Medium to Large
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.2.5 to 7.2.6
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.6 to 7.2.7
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.7 to 7.2.8
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.8 to 7.2.9
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.9 to 7.2.10
Updated by Alexis Mousset over 1 year ago
- Target version changed from 7.2.10 to 7.2.11
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.11 to 1046
Updated by Alexis Mousset about 1 year ago
- Target version changed from 1046 to 7.3.8
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.8 to 7.3.9
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.9 to 7.3.10
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.13 to 7.3.14
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 7.3.14 to 7.3.15
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.16 to 7.3.17
Actions