API returns visible name for hosts, even if it is empty

XMLWordPrintable

    • Type: Incident report
    • Resolution: Incomplete
    • Priority: Trivial
    • None
    • Affects Version/s: 1.9.8 (beta)
    • Component/s: API (A)
    • None

      When querying the templates, each template returned has the "name" filled, even if no visible name was entered. This causes a problem when trying to update templates as the API client does not know if a visible name was set or not.

      Example:

      • The default installation has no visible name set for "Template_Cisco_PIX515E"
      • The API returns "Template_Cisco_PIX515E" for both "host" and "name".
      • "name" should be null or "" to indicate that no name was set.

      I have skipped a possible bugfix as I don't know if that's intented or conflicts in other areas of Zabbix.

            Assignee:
            Unassigned
            Reporter:
            Timo A. Hummel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: