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

RedirectPage inside ListView causes page expiration issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-beta2
    • wicket
    • None

    Description

      I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error.

      I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired.

      I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
      the two cases at the urls:

      http://localhost:8080/redirect/app/simple
      http://localhost:8080/redirect/app/list

      (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions).

      Attachments

        1. redirect.tgz
          4 kB
          Carlos Pita

        Activity

          People

            jcompagner Johan Compagner
            memeplex Carlos Pita
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: