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

Session should be bound when adding messages to it

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.7.0
    • 6.9.0, 7.0.0-M1
    • None

    Description

      When using the Sessions info(), error() and success() methods, and the session is temporary, the messages can be dropped silently. This happens when on stateless pages and a redirect happens in the same request during which a session message is added.

      The fix for this could be to make sure the session is bound and call Session#bind() automatically when a session message is added.

      Email thread:
      http://wicket-users.markmail.org/thread/zd72s4gwnlp5d7ch

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            berniegp Bertrand Guay-Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment