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

2024-01-27 Thread Burton Rhodes
FWIW, the non-streaming parser works just fine for my applications needs. -- Original Message -- From "Lukasz Lenart" To "Struts Developers List" Date 1/27/2024 2:07:09 AM Subject Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms

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

2024-01-27 Thread Lukasz Lenart
I'm still working on this but basically it doesn't make sense to use JakartaStreamMultiPartRequest any more - the current implementation streams the uploaded files into disk anyway, but in a bit different way how JakartaMultiPartRequest is doing it - that's why you see different temporary file

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

2024-01-24 Thread Lukasz Lenart
I'm working on upgrading to the latest version of JakartaEE FileUpload plus doing some refactoring of both parsers - there is a bit of code duplication. https://issues.apache.org/jira/browse/WW-5388 https://github.com/apache/struts/pull/861 Cheers Łukasz

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

2024-01-23 Thread Burton Rhodes
t;Struts Developers List" Date 1/23/2024 10:32:19 AM Subject Re: [7.0.0-M1] Actions not setting parameters with Multi-part forms 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" (instea

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

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

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