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

Undefined index in context menu

    XMLWordPrintable

Details

    • Team A
    • Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021)
    • 2

    Description

      Steps to reproduce:

      1. Open menu on a widget.
      2. The following request is executed: http://localhost/master/zabbix.php?sid=14e764bb42a0d93f&action=menu.popup&type=widget_actions
      3. Observe the following contents of the response: 
        {"data":{"type":"widget_actions","widget_uniqueid":null,"currentRate":null,"multiplier":false},"errors":"<output class=\"msg-bad\" role=\"contentinfo\" aria-label=\"Error message\"><div class=\"msg-details\"><ul><li>Undefined index: widget_uniqueid [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><li>Undefined index: currentRate [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><li>Undefined index: multiplier [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><li>Undefined index: widgetType [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><li>Undefined index: widgetType [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><li>Undefined index: widgetType [zabbix.php:21 &rarr; require_once() &rarr; ZBase-&gt;run() &rarr; ZBase-&gt;processRequest() &rarr; CController-&gt;run() &rarr; CControllerMenuPopup-&gt;doAction() &rarr; CControllerMenuPopup::getMenuDataWidgetActions() &rarr; CConfigFile-&gt;{closure}() in conf\/zabbix.conf.php:79]<\/li><\/ul><\/div><button type=\"button\" class=\"overlay-close-btn\" onclick=\"jQuery(this).closest('.msg-bad').remove();\" title=\"Close\"><\/button><\/output>"}

       

      The same is true for the trigger menu (http://localhost/master/zabbix.php?sid=14e764bb42a0d93f&action=menu.popup&type=trigger). Other context menus should be checked as well.

      Attachments

        Activity

          People

            HunterCRS Alexander Shubin
            natalja.zabbix Natalja Romancaka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: