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

JS error when detaching during onChanging timer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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