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

Incorrect httpstep validation

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: API (A)

      Description

      API request:

      httptest.update

      {
          "httptestid": "24",
          "name": "Homepage check",
          "steps": [
              {
                  "httpstepid": 114,
                  "name": "DUP1",
                  "url": "http://mycompany.com",
                  "status_codes": 200,
                  "no": 1
              },
              {
                  "httpstepid": 114,
                  "name": "DUP2",
                  "url": "http://mycompany.com/about",
                  "status_codes": 200,
                  "no": 2
              }
          ]
      }
      

      Response:
      No permissions to referred object or it does not exist!

      Not exist check for Ids duplicates

      Happen after ZBX-8194, but before was also wrong (last value rewrite first value)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              oleg.egorov Oleg Egorov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: