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

API param 'query_fields' can be saved with an empty value

    XMLWordPrintable

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 4.0.43, 5.0.28rc1, 6.0.9rc1, 6.2.3rc1, 6.4.0beta1
    • None
    • API (A)
    • Team B

    Description

      Steps to reproduce:

      • Open item configuration form
      • Choose HTTP Agent type
      • Fill in 'Query fields' name ( value should be empty)
      • Save changes

      Result: empty field validation is missing.

      Note: the same scenario works for headers e.g.

      Expected: The error message should appear "Nonempty key and value pair expected."

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            kseve Kirils Seve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: