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

JS error when detaching during onChanging timer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.4
    • 8.0.3
    • Components
    • Security Level: Jimmy
    • None
    • problem reproduced in chrome/FF/IE11/edge
      did not happen in Safari (mac)

    • ZK 8.0.4 S1
    • None

      Steps to Reproduce

      run the attached example
      focus the textbox and press ESC

      Actual Result

      JS error in console

      Expected Result

      no error (detach component and stop obsolete onChanging timer)

      Debug Info

      the example depends on the server's latency if the server responds quicker than the onChanging timeout the problem happens, when tested in a low latency environment the problem happens less likely

      Root Cause

      after detaching the onChanging timer is still running not failing to access element detached in the mean time

            wenninghsu wenninghsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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