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

"Undefined index" in map.update API call

XMLWordPrintable

    • Sprint 47, Dec 2018, Sprint 48, Jan 2019
    • 0.125

      Steps to reproduce:

      • send API request, witch cause circular dependency
      {
          "jsonrpc":"2.0",
          "method":"map.update",
          "params":{
              "sysmapid":"10001",
              "selements":[
                  {
                      "elementtype":"1",
                      "elements":[
                          {"sysmapid":"10001"}
                      ]
                  }
              ]
          },
          "id":0,
          "auth":"*************************"
      }

      Result:

      Undefined index: label [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> call_user_func_array() -> CMap->update() -> CMap->validateUpdate() -> CMap->validateCircularReference() -> CConfigFile->{closure}() in include/classes/api/services/CMap.php:1488]

            sasha Alexander Vladishev
            sasha Alexander Vladishev
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: