Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread Lukasz Lenart
wt., 28 sty 2025 o 15:25 John Wilson napisał(a): > In the meantime, is it possible to create a custom TypeConverterCreator to > then call upon the createBean method and get this working? > > Maybe implement the TypeConverterCreator and redefine in struts.xml? Yes, it should be possible, implement

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
Hi Lukasz, Thanks I will request a jira account and open a ticket. In the meantime, is it possible to create a custom TypeConverterCreator to then call upon the createBean method and get this working? Maybe implement the TypeConverterCreator and redefine in struts.xml? -J On Tue, Jan 28, 2025

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread Lukasz Lenart
wt., 28 sty 2025 o 14:22 John Wilson napisał(a): > I did go through the constants and update as required. We have the > typeconverters defined application wide using the > struts-conversion.properties. > > Although I’m wondering if this a bug related to > > https://issues.apache.org/jira/browse/WW

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
Hi Lukasz, I did go through the constants and update as required. We have the typeconverters defined application wide using the struts-conversion.properties. Although I’m wondering if this a bug related to https://issues.apache.org/jira/browse/WW-4996?jql=project%20%3D%20WW%20AND%20fixVersion%20

Re: Re: Struts 2.5.x to 6.4.0

2025-01-27 Thread Lukasz Lenart
pon., 27 sty 2025 o 15:31 John Wilson napisał(a): > > Yes. It should be using Spring to inject it as it did on 2.5.33. > > We have the struts2-spring-plugin which my understanding sets the object > factory in the web.xml to spring. I don't recall any major changes around Spring, maybe it's relate

RE: Re: Struts 2.5.x to 6.4.0

2025-01-27 Thread John Wilson
Yes. It should be using Spring to inject it as it did on 2.5.33. We have the struts2-spring-plugin which my understanding sets the object factory in the web.xml to spring. On 2025/01/26 06:29:29 Lukasz Lenart wrote: > czw., 23 sty 2025 o 17:51 jw1474674 napisał(a): > > Hi, I’m facing issues upg

Re: Struts 2.5.x to 6.4.0

2025-01-25 Thread Lukasz Lenart
czw., 23 sty 2025 o 17:51 jw1474674 napisał(a): > Hi, I’m facing issues upgrading struts versions. > In particular with a custom StrutsTypeConverter. > > The custom converter has a @PersistenceContext annotation for the > EntityManager which used to work. > > The entityManager is used to find clas