[ 
http://www.stripesframework.org/jira/browse/STS-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Archer updated STS-744:
-----------------------------

    Attachment: mockroundtrip_cookie_patch.patch

Added a method to MockRoundTrip to copy cookies from the Request to the 
response.
Modified the execute() method to call the new copy cookies method before 
executing.
Created a Junit to test this issue.


> MockRoundtrip.execute() does not copy Cookies from Request into Response
> ------------------------------------------------------------------------
>
>                 Key: STS-744
>                 URL: http://www.stripesframework.org/jira/browse/STS-744
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5.3
>            Reporter: Karen
>             Fix For: Release 1.5.5
>
>         Attachments: mockroundtrip_cookie_patch.patch
>
>
> After calling MockRoundtrip.execute() the Response object does not contain 
> any Cookies that were on the Request object. In a servlet container however 
> all Cookies from the Request are put on the Response unless they are 
> explicitly removed in the servlet code.
> I propose to let the MockRoundtrip.execute() provide the same kind of 
> behavior, by simply copying the Request Cookies into the Response (before any 
> actionbeans are executed).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to