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

    • S25-W2/3, S25-W4/5
    • 2

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

            vcernisovs Vitalijs Cernisovs
            kseve Kirils Seve
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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