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

Multi-clicking on "Import" button results in import of multiple identical hosts/templates

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.0.13rc1, 4.2.7rc1, 4.4.0alpha3
    • Frontend (F)

      Problem description: multiple clicking on the "Import" button when trying to import a host or a template results in creation of multiple identical hosts, the only difference is host id, in such a way bypassing the validation for host name uniqueness.

      Steps to reproduce:

      1. Export a host (the more complex is its configuration, the better)
      2. Open the exported file and change the name of the host.
      3. Navigate to Configuration => Hosts and press "Import"
      4. Select the previously modified export file and press "Import" button multiple times (as fast as You can).
      5. Check Configuration => Hosts

      Result: Multiple identical hosts were created.

      Expected: Processing of multiple host/template import requests within such short period of time should be restricted - only 1 Host should've been created.

      Example:

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: