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

Undefined index "flags" when deleting template

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 6.4.5, 7.0.0alpha4
    • 6.4.7rc1, 7.0.0alpha4, 7.0 (plan)
    • API (A)
    • None
    • Team C
    • Sprint 103 (Aug 2023)
    • 0.5

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: