-
Type:
Incident report
-
Resolution: Won't fix
-
Priority:
Critical
-
None
-
Affects Version/s: 4.0.7
-
Component/s: API (A)
-
None
Steps to reproduce:
- Create host1 (hostid1)
- Create template t1 (templateid1) with several items
- Link t1 with host1
- issue API command:
template.massremove(templateids=[templateid1], hostids=[hostid1], templateids_clear=[templateid1])
Result:
Template t1 was unlinked from host host1 as expected, but templated items were linked directly to host host1
Expected:
Unlink template t1 and clear all items