-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Trivial
-
Affects Version/s: 4.4.7
-
Component/s: Agent (G)
-
None
-
Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021)
-
0.25
Steps to reproduce:
- Create item with key wmi.getall[]. Use a query that returns no items.
Example:
wmi.getall[root\cimv2,"select * from win32_service where displayname like 'non_existing_service'"]
- Wait for data from this key
Result:
Item state is "Not supported" with error "Empty WMI search result"

Expected:
Return empty JSON array without error:
[]
Switching to Not Supported state leads to flapping elements in the case of using dependent items.