2014-09-29 17:38 GMT+02:00 Christoph Nenning <christoph.nenn...@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-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org