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

Tabbox could be undefined on tab setSelected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.5.0
    • Fix Version/s: 9.5.1, 9.5.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      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.

       

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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