API host.create does not validate proxy_hostid field

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Critical
    • None
    • Affects Version/s: 5.0.2rc1, 5.2.0alpha1, 6.0.22
    • Component/s: API (A)

      When creating host with correct API parameters except for non-existant proxyid in "proxy_hostid" field - technical SQL constraint error is returned.

      And one more case below in comments too.

      Expected:
      User friendly error.

            Assignee:
            Zabbix Development Team
            Reporter:
            Mārtiņš Tālbergs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: