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

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: 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

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

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

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()); //

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

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

[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

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 >

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

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,