[ZBX-22266] API does not allow user to create filter tags with same tag and value but different operators Created: 2023 Jan 27 Updated: 2024 Apr 10 Resolved: 2023 Feb 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 6.0.12 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Miks Kronkalns | Assignee: | Zabbix Development Team |
Resolution: | Won't fix | Votes: | 0 |
Labels: | map-element, tags | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: |
Description |
Steps to reproduce:
Result: Map update failed. error: Invalid parameter "/1/selements/1/tags/2": value (tag, value)=(Service, Zabbix) already exists. Expected: |
Comments |
Comment by Alexander Vladishev [ 2023 Feb 01 ] |
In the map elements conditions with same tags will be evaluated using OR operator. Therefore, it makes no sense to add such filtering conditions. |