-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.23rc1, 5.0.3rc1, 5.2.0alpha1
-
Sprint 66 (Jul 2020)
-
0.125
Steps to reproduce:
- Execute API request to host.create method using such parameters:
{ "host":"new host 1", "groups":{ "groupid": "5" }, "interfaces": [ { "type": 1, "main": 1, "useip": 1, "ip": "192.168.3.1", "dns": "", "port": "10050" } ] }
Observe:
Runtime error in php log file:
Illegal string offset 'groupid' in /var/www/html/master/ui/include/classes/api/services/CHost.php on line 1984
- part of
-
ZBX-3783 Proper API validation
- Reopened