Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1399

quickly switching sheets cause a javascript error "Cannot read property 'text' of undefined"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.9.5
    • Fix Version/s: 3.9.6
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      run zss.test.browser/src/selectSheets.ts with testcafe

      Current Result

      Uncaught TypeError: Cannot read property 'text' of undefined
          at init.$init (zss.wpd:6318)
          at new init (zk.wpd;jsessionid=13…z823imkzf094nb:9585)
          at init.$init (zss.wpd:5575)
          at new init (zk.wpd;jsessionid=13…z823imkzf094nb:9585)
          at initFrozenBlock_ (zss.wpd:13719)
          at init.$init (zss.wpd:13337)
          at new init (zk.wpd;jsessionid=13…z823imkzf094nb:9585)
          at init.doSheetSelected (zss.wpd:17145)
          at init.sheetId (zss.wpd:576)
          at init.setSheetId (zk.wpd;jsessionid=13…z823imkzf094nb:9623)
      $init	@	zss.wpd:6318
      init	@	zk.wpd;jsessionid=13…z823imkzf094nb:9585
      $init	@	zss.wpd:5575
      init	@	zk.wpd;jsessionid=13…z823imkzf094nb:9585
      initFrozenBlock_	@	zss.wpd:13719
      $init	@	zss.wpd:13337
      init	@	zk.wpd;jsessionid=13…z823imkzf094nb:9585
      doSheetSelected	@	zss.wpd:17145
      sheetId	@	zss.wpd:576
      (anonymous)	@	zk.wpd;jsessionid=13…z823imkzf094nb:9623
      doSelectSheet	@	zss.wpd:16626
      _onSelectSheet	@	zss.wpd:16548
      (anonymous)	@	zk.wpd;jsessionid=13…823imkzf094nb:10453
      fireX	@	zk.wpd;jsessionid=13…823imkzf094nb:17147
      _fireClick	@	zk.wpd;jsessionid=13…823imkzf094nb:14886
      doClick_	@	zk.wpd;jsessionid=13…823imkzf094nb:17348
      $supers	@	zk.wpd;jsessionid=13…823imkzf094nb:10526
      doClick_	@	zk.wpd;jsessionid=13…823imkzf094nb:22797
      $supers	@	zk.wpd;jsessionid=13…823imkzf094nb:10526
      doClick_	@	zul.tab.wpd;jsession…1z823imkzf094nb:931
      $supers	@	zk.wpd;jsessionid
      =13…823imkzf094nb:10500
      doClick_	@	zss.wpd:16321
      _doEvt	@	zk.wpd;jsessionid=13…823imkzf094nb:19261
      (anonymous)	@	zk.wpd;jsessionid=13…823imkzf094nb:19455
      dispatch	@	zk.wpd;jsessionid=13…z823imkzf094nb:5102
      elemData.handle	@	zk.wpd;jsessionid=13…z823imkzf094nb:4773
      l	@	hammerhead.js:9
      (anonymous)	@	hammerhead.js:3
      dispatchEvent	@	hammerhead.js:3
      e._raiseDispatchEvent	@	hammerhead.js:4
      

      Expected Result

      no error

      Workaround

      select sheets slowly

        Attachments

          Activity

            People

            • Assignee:
              hawk hawk
              Reporter:
              hawk hawk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: