Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4695

Tabbox could be undefined on tab setSelected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 9.5.0.1, 9.5.1
    • 9.5.0
    • Components
    • Security Level: Jimmy
    • None

      Steps to reproduce

      On tab setSelected, tabbox could be undefined

      Uncaught (in promise) TypeError: Cannot read property 'inAccordionMold' of null
      at init._sel (zul.tab.wpd:1152)
      at init._setSel (zul.tab.wpd:455)
      at init.setSelectedTab (zul.tab.wpd:249)
      

      `selectedTab.getTabbox()` could return null while tabs is already detached from tabbox

       

      Current Result

      shows js error

       

      Expected Result

      no error

      Debug Info

      It makes keikai add a sheet unable to work normally.

       

       

            rudyhuang rudyhuang
            wenninghsu wenninghsu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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