-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.0.17rc2
-
Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
-
1
Steps to reproduce:
- Create host with one Agent interface
- Create item that uses this interface
- Make following API call:
{ "jsonrpc": "2.0", "method": "host.update", "params": { "hostid": "host_id_here", "status": 0, "interfaces": [ { "type": 2, "interfaceid": "interface_id_here", "main": 1, "useip": 1, "ip": "127.0.0.1", "dns": false, "port": 10050 } ] }, "auth": "auth_code_here", "id": 1 }
Result: Host is successfully updated. By opening item, it is seen, that there are no interfaces assigned to this item.
Expected: Error message - Interface is linked to item "X" on "Y".