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

[Top hosts] TypeError "Cannot read properties of null" appears on image preview/hover when widget contains two columns with "show thumbnail" option

XMLWordPrintable

    • Sprint candidates

      Precondition:

      Steps to reproduce:

      • Create top hosts widget with two identical columns
        -) Item => binary item
        -) Display item value as => Binary
        -) Show thumbnail => true
        e.g.

      • Save configuration
      • Try to open the image
      • Check browser console

      Result: TypeError "Cannot read properties of null" appears.

      class.widget.js?1731410281:279 Uncaught TypeError: Cannot read properties of null (reading 'style')
          at class.widget.js?1731410281:279:16
          at Array.forEach (<anonymous>)
          at ResizeObserver.<anonymous> (class.widget.js?1731410281:274:14)
      (anonymous)	@	class.widget.js?1731410281:279
      (anonymous)	@	class.widget.js?1731410281:274
      


      Expected: No errors should appear.

        1. item-history-error.png
          item-history-error.png
          147 kB
        2. item-history-config.png
          item-history-config.png
          44 kB
        3. item-history-column-config.png
          item-history-column-config.png
          18 kB
        4. image-2024-11-13-14-16-37-993.png
          image-2024-11-13-14-16-37-993.png
          49 kB
        5. image-2024-11-13-14-09-13-536.png
          image-2024-11-13-14-09-13-536.png
          21 kB
        6. image-2024-11-13-14-08-59-066.png
          image-2024-11-13-14-08-59-066.png
          12 kB
        7. console_error.gif
          console_error.gif
          787 kB

            zabbix.dev Zabbix Development Team
            kseve Kirils Seve
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: