Kamil created WICKET-6441:

             Summary: MockHttpSession doesn't call onInvalidate() on 
                 Key: WICKET-6441
                 URL: https://issues.apache.org/jira/browse/WICKET-6441
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 8.0.0-M6
            Reporter: Kamil

org.apache.wicket.protocol.http.mock.MockHttpSession on invalidate calls just:
public void invalidate()
        id = generateSessionId();
while org.apache.wicket.session.HttpSessionStore valueUnbound calls
public void valueUnbound(final HttpSessionBindingEvent evt)
        String sessionId = evt.getSession().getId();
        log.debug("Session unbound: {}", sessionId);
        if (wicketSession != null)
(valueUnbound is called on 

this causes to be impossible to properly test what happens on invalidation of 
the session.

This message was sent by Atlassian JIRA

Reply via email to