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

Busy indicator persists after request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.0.0, 9.1.0
    • 9.2.0
    • None
    • Linux - Ubuntu 19.10 and centOS. Using OpenJDK 14.

    Description

      The busy indicator (implementations of `IAjaxIndicatorAware`) appears to persist after the AJAX request finishes. To be precise, It looks like it's not being properly cleaned up, as subsequent requests continue to add new indicators to the page. This looks to be new in Wicket 9/9.1, as I didn't observe the behavior in the past (Wicket 7/8) out of the box.

      I've seen this occur with uses of `IndicatingAjaxLink.java` along with ModalWindow/ModalDialog, but also for use cases of the vanilla `AjaxIndicatorAppender` behavior attached to a component.

      I've attached a small quickstart project which should hopefully make this easy to reproduce. It should suffice to start the project and click any of the two links present.

      Attachments

        1. test_proj.zip
          7.04 MB
          Ronald Cruz

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              roncruz Ronald Cruz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: