Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms

2024-01-23 Thread Burton Rhodes
A bit more testing reveals a few clues/issues: If I switch the parser to "jakarta" (instead of "jakarta-stream") everything works as expected. The jakarta-stream parser is obviously not converting the stream for each action field variable to a String properly When debugging the ParametersInterce

Re: [TEST] Apache Struts 7.0.0-M1 test build is ready

2024-01-23 Thread Greg Huber
Seems to pass all my tests and  runs good.  Upload seems to work OK, both my ajax and struts version. Stack: zulu17.42.19-ca-crac-jdk17.0.7-linux_x64 Spring framework 6.1.3 Spring Security 6.2.1 apache-tomcat-10.1.18 On 20/01/2024 11:12, Lukasz Lenart wrote: Hello, This is the first versi

Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms

2024-01-23 Thread Greg Huber
I use the default which is struts.multipart.parser=org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest What would the jakarta-stream do that is different? On 23/01/2024 03:12, Burton Rhodes wrote: The biggest issue I'm having at the moment is with all of my multi-part forms that

Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms

2024-01-23 Thread Lukasz Lenart
wt., 23 sty 2024 o 15:23 Burton Rhodes napisał(a): > > A bit more testing reveals a few clues/issues: > If I switch the parser to "jakarta" (instead of "jakarta-stream") > everything works as expected. > The jakarta-stream parser is obviously not converting the stream for > each action field varia

Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms

2024-01-23 Thread Burton Rhodes
Comments below... I had no issues with the jakarta-stream parser in 6.x Unless you think otherwise, a ticket should probably be registered for jakarta-stream parser as it does not set action field values correctly from the request stream in Struts 7 as it does in Struts 6 FWIW, I have now change