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

Runtime error when using host.massremove API method

    XMLWordPrintable

Details

    • Team B
    • Sprint 66 (Jul 2020), Sprint 67 (Aug 2020)
    • 0.125

    Description

      Steps to reproduce:

      1. Create a host with couple of interfaces
      2. Use API to remove one (not main) interface.
        {
        	"hostids": ["10337"],
        	"interfaces": [{
        		"ip": "194.168.3.1",
        		"dns": "",
        		"port": "10050"
        	}]
        }
        

      Result

      PHP Notice:  Undefined variable: hostids in /var/www/html/feature/ZBXNEXT-2156-5.1/ui/include/classes/api/services/CHostInterface.php on line 840"
      

      Please check if issue exists in 4.0 or 5.0. Only 5.2.0alpha1 tested.

      Attachments

        Issue Links

          Activity

            People

              Miks.Kronkalns Miks Kronkalns
              talbergs Mārtiņš Tālbergs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: