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

Undefined array key in template.edit.php view

XMLWordPrintable

    • Prev.Sprint, S25-W24/25, S25-W26/27
    • 1

      In theory Zabbix templates will always have both vendor name and version. Some time in the future and after ZBXNEXT-9827 is implemented, users will be able to create their own templates and there is no 100% guarantee those both fields will be filled. If only one field is filled, the other can produce a runtime error. In this case vendor had version, but name was forgotten:

      Undefined array key "name" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app\views\template.edit.php:156]

            zabbix.dev Zabbix Development Team
            iivs Ivo Kurzemnieks
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 11h
                11h