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

Session should be bound when adding messages to it

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.7.0
    • Fix Version/s: 6.9.0, 7.0.0-M1
    • Component/s: None
    • Labels:

      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: