[ANN] Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.5.12 is available as a “General Availability” release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to

Re: org.apache.struts2.interceptor.I18nInterceptor seems to work only once + can defaulting to accept headers (and impacting on number/date parsing) be disabled?

2017-07-13 Thread Christoph Nenning
> Hi all, > > I joined a project recently that makes use of Struts 2, and was tasked > with enabling internationalisation for it. I'm completely new to the > framework, and the project has organically grown over the years - > which means the project has a multitude of interceptors and chains > con

Struts 2.5.12

2017-07-13 Thread Tamás Barta
Hi, I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following error at startup: Caused by: com.opensymphony.xwork2.inject.DependencyException: Dependency mapping for [type=java.lang.String, name='struts.devMode'] already exists. at com.opensymphony.xwork2.inject.ContainerBuilder.c

Re: Struts 2.5.12

2017-07-13 Thread Lukasz Lenart
2017-07-13 14:24 GMT+02:00 Tamás Barta : > Hi, > > I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following > error at startup: > > Caused by: com.opensymphony.xwork2.inject.DependencyException: Dependency > mapping for [type=java.lang.String, name='struts.devMode'] already exists.

About Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Emi
Hello, May I know do you release one update version for 2.3.x about this bug fix as well? Thanks. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: About Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Lukasz Lenart
2017-07-13 15:15 GMT+02:00 Emi : > Hello, > > May I know do you release one update version for 2.3.x about this bug fix as > well? Yes, there is 2.3.33 under way to the central and mirrors, it should be announced early today. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: Struts 2.5.12

2017-07-13 Thread Tamás Barta
Hmm, struts jars are only once in ear's lib. I just replaced the old versions. Interesting. 2017. júl. 13. du. 2:42 ezt írta ("Lukasz Lenart" ): > 2017-07-13 14:24 GMT+02:00 Tamás Barta : > > Hi, > > > > I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following > > error at startu

Re: Struts 2.5.12

2017-07-13 Thread Lukasz Lenart
2017-07-13 15:32 GMT+02:00 Tamás Barta : > Hmm, struts jars are only once in ear's lib. I just replaced the old > versions. Interesting. but maybe in a cache folder or tmp or in a folder where the EAR got expanded Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
Hi, With the removal of the TextProviderFactory and it’s replacement with beans, I can’t figure out how to properly setup our test environment (when testing Controllers that are autowired by spring. How do I inject a custom resourceBundle into the ActionContext or stack? I used to be able to

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
Figured this out: Map contextMap = new HashMap(); contextMap.put(StrutsStatics.HTTP_REQUEST, getServletRequest()); ActionContext context = new ActionContext(contextMap); context.setLocale(Locale.getDefault()); // http://mail-archives.apache.org/mod_mbox/st

JasperReports plugin - confused on a NullPointerException

2017-07-13 Thread Jon Eskin
I tried to make a sample project using code from a tutorial I found for the JasperReports plugin (https://struts.apache.org/docs/jasperreports-tutorial.html ). I’m seeing a NullPointerException in my logs when I try to run the report

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Lukasz Lenart
2017-07-13 20:08 GMT+02:00 Adam Brin : > // FIXME: needs to be a better way to handle this > TextProviderFactory textProviderFactory = new TextProviderFactory(); I think you can simple use StrutsTextProviderFactory instead - it works exactly the same way. Regards -- Łukasz + 48

Re: JasperReports plugin - confused on a NullPointerException

2017-07-13 Thread Lukasz Lenart
Can you try to use the latest 2.5.12 version? There was some issue related to the JasperReports fixed with this release. 2017-07-14 2:10 GMT+02:00 Jon Eskin : > I tried to make a sample project using code from a tutorial I found for the > JasperReports plugin > (https://struts.apache.org/docs/ja

Re: Struts 2.5.12

2017-07-13 Thread Tamás Barta
Dear Lukasz, thank you very much for your very fast support all the time. It seems that new version is not compatible with JRebel. Have you tried starting a new version struts app with JRebel? If I replace the 3 struts jar files I use (core, spring-plugin, convention-plugin) to the old version, e