Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22266

API does not allow user to create filter tags with same tag and value but different operators

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.12
    • API (A)

      Steps to reproduce:

      1. Navigate to Monitoriing -> Maps, create a map and add map element;
      2. In Map element configuration dialog add 2 filtering tags:
        1. "Service" + "Contains" + "Zabbix"
        2. "Service" + "Does not equal" + "Zabbix"
      3. Confirm changes and Update map.

      Result:
      Error with following message appears:

      Map update failed.
      error: Invalid parameter "/1/selements/1/tags/2": value (tag, value)=(Service, Zabbix) already exists.

      Expected:
      Uniqueness check should fail only when all 3 properties (tag, operator, value) matches.

            zabbix.dev Zabbix Development Team
            Miks.Kronkalns Miks Kronkalns
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: