[ZBX-16398] dservice.get - incorrect filtering by dcheckids Created: 2019 Jul 22 Updated: 2024 Apr 10 Resolved: 2019 Sep 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 4.0.10 |
Fix Version/s: | 4.0.13rc1, 4.2.7rc1, 4.4.0alpha3, 4.4 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Valdis Murzins | Assignee: | Vasily Goncharenko (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | |
Sprint: | Sprint 55 (Aug 2019), Sprint 54 (Jul 2019) |
Story Points: | 0.125 |
Description |
When performing dservice.get and filtering services by dcheckids, this API will return all services, that were discovered by drules that have selected dchecks. Steps to reproduce:
Result: It will return both services, including the one, that was discovered based on other discovery check. |
Comments |
Comment by richlv [ 2019 Jul 23 ] |
Does quoting dcheckid help? |
Comment by Valdis Murzins [ 2019 Jul 25 ] |
Hi richlv, There is an error in logic, how API filters out such services. So quoting will not change the output. |
Comment by richlv [ 2019 Jul 25 ] |
Got it, thank you for the clarification. |
Comment by Vasily Goncharenko (Inactive) [ 2019 Aug 08 ] |
Fixed in development branch feature/ZBX-16398-4.0 |
Comment by Vasily Goncharenko (Inactive) [ 2019 Aug 29 ] |
Fixed in:
|