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

Widget is not updating with error: "TypeError: dataset.itemids.entries is not a function", after item from data set (item list) was deleted

XMLWordPrintable

    • Sprint candidates

      Steps to reproduce:

      1. Create host with at least two items: item#1, item#2
      2. Open dashboard
      3. Click add widget
      4. Select pie chart, or any other widget for which data set: item list is available.
      5. Add data set - item list, select two created items
      6. Add widget, save dashboard
      7. Delete the item that is displayed as the first one in the widget data
      8. Open dashboard, reload the page is necessary, see the widget

      Result:
      Widget is loading infinitely, console error is displayed:

      Could not update widget TypeError: dataset.itemids.entries is not a function
      

      See screenshot:

      Expected:
      Widget should be working correctly with items that are left in data set, no errors should be displayed.

            zabbix.dev Zabbix Development Team
            ngogolevs Nikita Gogolevs
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: