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

WebPageRenderer should bind a Session if redirect is required and the session is temporary.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.16.0, 7.0.0-M2
    • 1.5.12, 7.0.0-M3, 6.17.0
    • None
    • None

    Description

      WebApplication.storeBufferedResponse does not check if sessionId is null. This could lead to wrong behaviors as it happens in the quickstart project. Let's say we have a stateless home page with page parameters that are populated inside page constructor. Under these conditions class WebPageRenderer will call storeBufferedResponse and will redirect the response to the final URL (line 289). But as the session is temporary, the buffered response is not consumed and WebPageRenderer will rise a warning (line 194).

      I think we should check for null sessionId inside WebApplication or inside WebPageRender.

      Attachments

        1. wicket5578.tar.gz
          29 kB
          Andrea Del Bene

        Issue Links

          Activity

            People

              bitstorm Andrea Del Bene
              bitstorm Andrea Del Bene
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: