template.massremove doesn't clear items

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Critical
    • None
    • Affects Version/s: 4.0.7
    • Component/s: API (A)
    • None

      Steps to reproduce:

      1. Create host1 (hostid1)
      2. Create template t1 (templateid1) with several items
      3. Link t1 with host1
      4. 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

            Assignee:
            Zabbix Support Team
            Reporter:
            Victor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: