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

Undefined index "flags" when deleting template

XMLWordPrintable

    • Sprint 103 (Aug 2023)
    • 0.5

      Steps to reproduce:

      1. Import zbx_export_templates-ZBX.yaml, zbx_export_hosts-ZBX.yaml
      2. Execute LLD to discover host
      3. Go to templates and select "Template 1" and "Template 2"
      4. Delete

      Result:
      See log file:

      PHP Notice:  Undefined index: flags in /home/zabbix/git.zabbix.com/master/ui/include/classes/api/services/CItem.php on line 1412
      PHP Notice:  Undefined index: flags in /home/zabbix/git.zabbix.com/master/ui/include/classes/api/services/CItem.php on line 1412
      

      Expected:
      No undefined index error in the log file.

        1. zbx_export_hosts-ZBX.yaml
          0.4 kB
          Gregory Chalenko
        2. zbx_export_templates-ZBX.yaml
          2 kB
          Gregory Chalenko

            vmaksimovs Vladimirs Maksimovs
            gcalenko Gregory Chalenko
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: