struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts 2.3.18 ready for test
Date Tue, 30 Sep 2014 06:38:00 GMT
2014-09-29 17:38 GMT+02:00 Christoph Nenning <Christoph.Nenning@lex-com.net>:
> 3. LocaleProvider created by a ConfigurationProvider
> To deal with errors on file uploads we have a ConfigurationProvider that
> registers a LocaleProvider programmatically which is only used before the
> interceptor stack is executed.
> With struts 2.3.16 that LocaleProvider was only called once per request,
> now it is called all over the place (probably for each getText()).
> So it seems that the before-interceptor-stack-approach does not work
> anymore.
>
>
>
> 4. ActionContext.getContext().getSession()
> Again the ConfigurationProvider from point 3. It tries to access the
> HttpSession to figure out if the user has a language chosen.
> With struts 2.3.16 it returned always a map which may have been empty. Now
> we get null.
> That happens on the login page, so there might be no session yet.

So a new LocaleProvider is needed just to satisfy bootstrap time


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message