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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: