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

Unlink and clear option in Template mass update replaces all existing templates with the chosen one


      Problem description: When attempting to unlink and clear a template using the Template mass update action, the template that is chosen in the "Linked templates" replaces all existing templates for templates that were selected for the mass update action (Works same as replace operation).
      Steps to reproduce:

      1. Open the list of templates
      2. Link some template to one of the templates
      3. Select a couple of templates, including the one with the linked template, and press Mass update button
      4. In the opened dialogue go to "Linked templates tab" and select the linked template from step 2 in the multiselect
      5. Set "Unlink and clear" checkbox and choose "Unlink" in the redio-button
      6. Press update
      7. Check configuration of the previously selected templates

      Result: the template that was supposed to be unlinked is now preset under all templates selected for the Mass update action (it replaced all linked templates)
      Expected: The template should've been unlinked and its items should've been removed.

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            0 Vote for this issue
            1 Start watching this issue