You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pavel Dubina (JIRA)" <ji...@apache.org> on 2012/11/01 17:17:14 UTC

[jira] [Created] (WICKET-4850) BaseWicketTester discards cookies with MaxAge = -1 when processing a new request

Pavel Dubina created WICKET-4850:
------------------------------------

             Summary: BaseWicketTester discards cookies with MaxAge = -1 when processing a new request
                 Key: WICKET-4850
                 URL: https://issues.apache.org/jira/browse/WICKET-4850
             Project: Wicket
          Issue Type: Bug
          Components: wicket-devutils
    Affects Versions: 1.5.8
            Reporter: Pavel Dubina
            Priority: Minor


BaseWicketTesters' method processRequest only copies cookies with maxAge > 0 to the new request, discarding cookies with maxAge = -1. However http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/Cookie.html#getMaxAge%28%29 states that cookies with maxAge = -1 are session cookies, and should be deleted when the browser is closed, not when a new request is handled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-4850) BaseWicketTester discards cookies with MaxAge = -1 when processing a new request

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4850.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.9
                   6.3.0
         Assignee: Martin Grigorov
    
> BaseWicketTester discards cookies with MaxAge = -1 when processing a new request
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-4850
>                 URL: https://issues.apache.org/jira/browse/WICKET-4850
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-devutils
>    Affects Versions: 1.5.8
>            Reporter: Pavel Dubina
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.3.0, 1.5.9
>
>
> BaseWicketTesters' method processRequest only copies cookies with maxAge > 0 to the new request, discarding cookies with maxAge = -1. However http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/Cookie.html#getMaxAge%28%29 states that cookies with maxAge = -1 are session cookies, and should be deleted when the browser is closed, not when a new request is handled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira