Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-607

Disable the filter causes a javascript error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Later Later
    • 5.12.0
    • 5.9.0
    • None
    • Security Level: Jimmy
    • 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()

        1. keikai-607.zul
          0.4 kB
          hawk
        2. KK607Composer.java
          1 kB
          hawk

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

              Created:
              Updated:
              Resolved: