Re: ActionFileUploadInterceptor Issue

2025-05-19 Thread Lukasz Lenart
I extended the example and it only works with two filters. If I use one filter it won't work https://github.com/apache/struts-examples/pull/461 Also it works properly only with 7.0.3, the changes introduced in this PR broke the integration https://github.com/apache/struts/pull/1265 and now I'm in

Re: ActionFileUploadInterceptor Issue

2025-05-14 Thread Zoran Avtarovski
Hi Lukasz, We have resolved the issue and I thought I would share our findings. I'd hate to see someone as frustrated as our junior here was. He was quite the angry young man. The issue was the struts filters. Our app was setup using the struts-prepare and struts-execute filters separately a

Re: ActionFileUploadInterceptor Issue

2025-05-13 Thread Zoran Avtarovski
Thanks Lukasz, We got the file-upload test app to work without any real issues. It's no a case of adding all the interceptors and other libraries we use to see which is changing the request object. I've got one of the young guys on it. They are having so much fun right now :) Z. On 14/5

Re: ActionFileUploadInterceptor Issue

2025-05-13 Thread Lukasz Lenart
Could you check if this example works for you? https://github.com/apache/struts-examples/tree/main/file-upload wt., 13 maj 2025 o 08:28 Zoran Avtarovski napisał(a): > > Hi Lukasz, > > That's what I thought initially, but we only use the spring plugin for > dependency injection and the tomcat chan

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