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

"Undefined index" in API calls without "auth" parameter

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 47, Dec 2018, Sprint 48, Jan 2019
    • Story Points:
      0.125

      Description

      Steps to reproduce:

      • send API call through JSON RPC
        {
            "jsonrpc": "2.0",
            "method": "user.login",
            "params": {
                "user": "Admin",
                "password": "zabbix"
            },
            "id": 1
        }
        

      Result:

      Undefined index: auth [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CConfigFile->{closure}() in include/classes/core/CJsonRpc.php:87]

      Expected:
      Code must be executed without PHP errors

        Attachments

          Activity

            People

            • Assignee:
              sasha Alexander Vladishev
              Reporter:
              sasha Alexander Vladishev
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: