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

Web scenarios don't validate application existence

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4rc1, 2.3.0
    • Fix Version/s: None
    • Component/s: API (A)

      Description

      When passing 'applicationid', which is optional value to httptest.create, 'hostid' is automatically found and will create web scenario under that host. But value in 'applicationid' is not validated for existence. Passing wrong ID results in strange error message: "Field 'hostid' cannot be set to NULL".

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: