Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6366

Autocomplete race condition makes page unresponsive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.6.0, 6.26.0, 8.0.0-M6
    • 6.27.0, 7.8.0, 8.0.0-M7
    • wicket-extensions
    • None
    • Reproduced both with latest Firefox (53.0.2) and latest Chrome (58.0.3029.96)

    Description

      The autocomplete field can throw a javascript exception that makes the page unresponsive.

      To reproduce, run attached quickstart and:
      1. Click the text field and type "a"
      2. Quickly click the "hide" button, and
      3. Quickly click the text field again and type another "a", leaving the text field focused.
      4. A couple of javascript exceptions will be thrown, where the first on seems to break the ajax functionality. Clicking "show" has no effect now.

      Attaching quickstart and screenshot of the exceptions.

      Attachments

        1. autocomplete.zip
          44 kB
          Per Huss
        2. exceptions.png
          37 kB
          Per Huss

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              perhuss Per Huss
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: