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

BufferedResponseMapper doesn't recognize the the stored response because the session id is not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.3
    • wicket
    • None

    Description

      WebPageRenderer logs a warning that there is a stored response but it wasn't picked by BufferedResponseRequestHandler:

      WARN - WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler

      The problem is in org.apache.wicket.request.mapper.BufferedResponseMapper.getSessionId() which was wrongly optimized to not create a new Session with http://svn.apache.org/viewvc?view=revision&revision=1186125

      Workaround until 1.5.3 is released:

      MyApplication#init() {

      mount(new BufferedResponseMapper() {
      protected String getSessionId()

      { return Session.get().getId(); }

      });
      }

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: