Actions
Bug #18172
closedGroup query with OR composition and searching for Node properties return all nodes in place of none
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
94
Name check:
To do
Fix check:
Checked
Regression:
Description
If you choose a search on a node property that should return 0 node, like "Name equals" and a name not used anywhere, you get ALL nodes in place of NONE.
Updated by François ARMAND about 4 years ago
- Related to Bug #18133: Group query with OR composition and searching for Node properties return less results than expected added
Updated by François ARMAND about 4 years ago
This can be reproduced with test:
val q3 = TestQuery( "q3", // select no nodes because that property name doesn't exists parser(""" { "select":"node", "composition" : "Or", "where":[ { "objectType":"serializedNodeProperty", "attribute":"name.value", "comparator":"hasKey", "value":"No node with that prop" } ] } """).openOrThrowException("For tests"), Nil) // fail: returns all nodes
Updated by Vincent MEMBRÉ about 4 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 4 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/3205
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder|1f17a372821294a0f83f5d59f5240ca3304be723.
Updated by François ARMAND about 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.19, 6.0.8 and 6.1.4 which were released today.
Actions