Re: ActionFileUploadInterceptor Issue

2025-05-12 Thread Zoran Avtarovski
Hi Lukasz, That's what I thought initially, but we only use the spring plugin for dependency injection and the tomcat changes seem to happen much earlier in the request cycle. I was wondering if any of the interceptors in the defaultStack might be making a change. I was being lazy and hoping

Re: ActionFileUploadInterceptor Issue

2025-05-12 Thread Lukasz Lenart
What else do you use? Spring, Tomcat? It looks like something is changing the type of MultiPartRequestWrapper between Dispatcher and interceptors, mayb the request is wrapped with another proxy? wt., 13 maj 2025 o 01:48 Zoran Avtarovski napisał(a): > > Hi Guys, > > We have started migrating our a

ActionFileUploadInterceptor Issue

2025-05-12 Thread Zoran Avtarovski
Hi Guys, We have started migrating our apps to 6.7.4 and have run into an issue with file uploads. We have migrated our actions to use the new ActionFileUploadInterceptor but we are seeing an issue where the upload requests are being incorrectly bypassed. I have reduced it to a simple exampl

Re: Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Jesus Moreno
Sure, it’s so rare but I have been reading the log but I don’t find any hint. Maybe I could test with another version of tomcat or spring boot or without spring boot. I am thinking the problem is there. Thanks, I’ll try it and tell you if it works. Thanks On 12 May 2025 at 11:16:41 AM -0600, ut

Re: Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread utkai
My configuration: Wildfly 33 Eclipse as IDE I suppose you have already Struts DevMode. Sometimes a warning gives me a hint. Gesendet mit der mobilen Mail App Am 12.05.25 um 18:24 schrieb Jesus Moreno > Thanks to clarifying my question. > > I am thinking that the problem could be: > > • Apac

Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Jesus Moreno
Thanks to clarifying my question. I am thinking that the problem could be: • Apache Tomcat 10.1.3 • Spring Boot 3.4.4 • or my IDE when I am creating the war For your example, are you using tomcat and Spring Boot? If it is yes, what version? Thanks for the assistance. Regards On 12 May 2025 at

Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Ute Kaiser
I am also sorry because I can not see the difference why my upload is working and yours is not. Best regards Ute > Gesendet: Samstag, 10. Mai 2025 um 18:45 > Von: "Jesus Moreno" > An: user@struts.apache.org, "Struts Users Mailing List" > > Betreff: Re: Aw: File Upload Failure in Struts 7.0.3

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
Hi, I see: 1. I tried adding which did not work. 2. Declaring class [class gov.ca.doj.sotas.util.MYStrutsPrepareFilter$MYUtils] of member type [public boolean gov.ca.doj.sotas.util.MYStrutsPrepareFilter$MYUtils.isUserInRole(java.lang.String)] is not allowlisted! The use of upper and lower ca

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
Maybe it helps: I could see: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest Struts7 uses jakarta, not javax Mit freundlichen Grüßen Ute Kaiser Gesendet: Freitag, 9. Mai 2025 um 23:54 Von: "Deborah White" An: "Struts Users Mailing List" Betreff: RE: Struts 7 p

Aw: Re: Validation problem

2025-05-12 Thread Ute Kaiser
Hi, escaping does not matter. Output for error.maxlength=\'{0}\' can not be greater than {1} characters. is the same as for error.maxlength='{0}' can not be greater than {1} characters. (and the same as for error.maxlength={0} can not be greater than {1} characters.) The '' always disappear. I w