Disable the filter causes a javascript error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Later
    • 5.12.0
    • Affects Version/s: 5.9.0
    • Component/s: None
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      1. click the button to enable the filter
      2. apply the filter by unchecking the first item "a"
      3. click the button to disable the filter

      Current Result

      zss.wpd:40587 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'rect')
      at init._setRowHeight (zss.wpd:40587:36)
      at init._setRowHeight (zssex.wpd:4247:33)
      at init._cmdSize (zss.wpd:38551:9)
      at _doSizeCmd (zss.wpd:12440:9)
      at init._size (zss.wpd:12735:5)
      at init.setRowSize (zk.wpd:11174:15)
      at Function._set2 (zk.wpd:12250:38)
      at setter.func (zk.wpd:22997:18)
      at init.set (zk.wpd:23031:28)
      at setAttr (zk.wpd:32483:15)

      Expected Result

      no error, disable the filter

      Debug Information

      • caused by spreadsheet.notifyVisibleAreaChange()

      Workaround

      • Range.notifyChange()
      • Spreadsheet.notifyLoadedAreaChange()

            Assignee:
            DevChu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: