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

Undefined index in HostGroup API if trying to update hostgroup without groupid.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1.2
    • API (A)
    • None

      Notice: Undefined index: groupid in /home/zabbix/www/trunk/frontends/php/api/classes/CHostGroup.php on line 518

      {
      "jsonrpc": "2.0",
      "method": "hostgroup.update",
      "params":

      { "name": "a" }

      ,
      "id": 0,
      "auth": "5a3d801e3e54a43853b5b986e2097442"
      }

      Same issue can be found in other API classes..

      NOTE: This task must use new method checkObjectId() which is implemented in ZBXNEXT-1633

            Unassigned Unassigned
            eduards Eduards Samersovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: