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

Host cannont be cloned or exported if its items depend on discovered items

XMLWordPrintable

      Steps to reproduce:
      1. Create discovery rule on host with item prototypes.
      2. Wait until items on host are discovered.
      3. Create item on this host dependent on discovered item.
      4. Try to clone this host.

      Result:

      Cannot add host
      
          Undefined offset: 43495 [hosts.php:709 → copyItems() in include/items.inc.php:599]
          Undefined offset: 43495 [hosts.php:709 → copyItems() in include/items.inc.php:599]
          Undefined offset: 43495 [hosts.php:709 → copyItems() in include/items.inc.php:666]
          Undefined offset: 43495 [hosts.php:709 → copyItems() in include/items.inc.php:672]
          Undefined index: [hosts.php:709 → copyItems() in include/items.inc.php:673]
          Incorrect value for field "master_itemid": cannot be empty.

      Expected:
      In this case host cloning, exporting, etc.. should be handled in way not to copy discovered and dependent items

            zabbix.dev Zabbix Development Team
            lgrigorjeva Larisa Grigorjeva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: