Bug #22400
open
Empty group criteria breaks UI for adding new criteria
Added by Elaad FURREEDAN over 1 year ago.
Updated 5 months ago.
UX impact:
It bothers me each time
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
- Related to Bug #22170: A new group display no nodes while all linux are selected added
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": []
},
- Effort required changed from Medium to Large
- Target version changed from 7.2.5 to 7.2.6
- Target version changed from 7.2.6 to 7.2.7
- Target version changed from 7.2.7 to 7.2.8
- Target version changed from 7.2.8 to 7.2.9
- Target version changed from 7.2.9 to 7.2.10
- Target version changed from 7.2.10 to 7.2.11
- Target version changed from 7.2.11 to 1046
- Target version changed from 1046 to 7.3.8
- Target version changed from 7.3.8 to 7.3.9
- Target version changed from 7.3.9 to 7.3.10
- Target version changed from 7.3.10 to 7.3.11
- Target version changed from 7.3.11 to 7.3.12
- Target version changed from 7.3.12 to 7.3.13
- Target version changed from 7.3.13 to 7.3.14
- Target version changed from 7.3.14 to 7.3.15
- Target version changed from 7.3.15 to 7.3.16
- Target version changed from 7.3.16 to 7.3.17
Also available in: Atom
PDF