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

Undefined index error when updating graph without graphid.

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.31, 6.0.14rc1
    • API (A)
    • None

      Steps to reproduce:

      Make graph.update API request without graphid parameter. For example: 

      {"name": "Graph name"}

      Result:

      Undefined index: graphid [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CGraphGeneral->update() -> CApiService->extendObjects() -> CConfigFile->{closure}() in include/classes/api/CApiService.php:721]
      Undefined index: graphid [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CGraphGeneral->update() -> CConfigFile->{closure}() in include/classes/api/services/CGraphGeneral.php:62] 

            zabbix.dev Zabbix Development Team
            Miks.Kronkalns Miks Kronkalns
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: