[gatein-issues] [JBoss JIRA] Resolved: (GTNPORTAL-1705) wrong httpsession when instaling LocalizationFilter

Thomas Heute (JIRA) jira-events at lists.jboss.org
Thu Dec 2 06:21:05 EST 2010


     [ https://jira.jboss.org/browse/GTNPORTAL-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Heute resolved GTNPORTAL-1705.
-------------------------------------

    Resolution: Rejected


This is actually mandated by the spec.
In EPP, we'll have a workaround. Requires a proper solution for long term and Servlet 3.0 support.

> wrong httpsession when instaling LocalizationFilter 
> ----------------------------------------------------
>
>                 Key: GTNPORTAL-1705
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-1705
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: WebUI
>            Reporter: ahmed zaoui
>            Assignee: Marko Strukelj
>
>  Util.getPortalRequestContext().getRequest().getSession().getAttribute 
> return null attribute after installing  LocalizationFilter 
> ApplicationDispatcher doesn't wrap the ServletFacade , it wrap the HttpRequestWrapper (RequestFacade has already
> wrapped by LocalizationFilter  so the getSession() will return the wrong session with null attribute 
> because HttpRequestWrapper is instanceof ServletRequestWrapper, and inject a
> different request object into it via inherited setRequest() method
> and making it wrap a completely different request.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list