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

template.massremove doesn't clear items

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 4.0.7
    • 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

            zabbix.support Zabbix Support Team
            Vasilev Victor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: