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

Wicket Ajax fires calls scheduled by AbstractAjaxTimerBehavior even after unload of the page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.15.0
    • 7.0.0-M3, 6.17.0
    • wicket
    • None

    Description

      You have page with AbstractAjaxTimerBehavior, that loads slowly. Go to that page, refresh this page (F5) -> StalePageException.

      This is because timer behavior send request to old version of page. If page load is fast enough you probably won't hit the problem, but if models load for significant time, then exception is thrown on every refresh.

      Quickstart is included - just go to localhost:8080 and press F5.

      Attachments

        1. timer-quickstart.zip
          21 kB
          Vlastimil

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              vlastimil.dolejs Vlastimil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: