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 I'm

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 name

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
"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" (i

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 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 Burton Rhodes
the *.tmp extension breaks functionality in my application (although it's fairly trivial to fix on my end) so my vote would be to keep the original file extension - but perhaps this is a security issue? Thanks, Burton -- Original Message -- From "Burton Rhodes" To "

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

2024-01-22 Thread Burton Rhodes
The biggest issue I'm having at the moment is with all of my multi-part forms that include parameter data and a file. The action does receive the file, but the parameter "team.company" is set to the String value of stream, for example: "org.apache.commons.fileupload2.core.MultipartInput$ItemInpu