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

Widgets created with invalid parameter field value cause Undefined index.

XMLWordPrintable

      Case I. Operational data field:
      Create Problem (or Problems by severity) widget using API request. Use invalid value for Show operational data parameter.

      "fields": [
                              {
                                  "type": "0",
                                  "name": "show_opdata",
                                  "value": "9999"
                              }
      

      Open created dashboard on frontend, observe Undefined index:

      In version release/4.0 this bug is actual for "Show latest values" setting. If value is invalid Problems widget is eternally loading:

      And undefined index in Problems by severity widget:

      Case II. Dynamic setting:
      Create Classic Graph (for example) widget with wrong Dynamic parameter:

       "fields": [
                              {
                                  "type": "0",
                                  "name": "dynamic",
                                  "value": "999"
                              },
      

      Open dashboard on frontend and observe that actually widget is not dynamic (Dynamic: false), but in settings Dynamic is checked (Dynamic: true).

        1. Selection_545.png
          Selection_545.png
          199 kB
        2. Selection_544.png
          Selection_544.png
          153 kB
        3. Selection_543.png
          Selection_543.png
          28 kB
        4. Selection_542.png
          Selection_542.png
          64 kB
        5. Selection_541.png
          Selection_541.png
          199 kB

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

              Created:
              Updated: