You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2025/02/02 07:38:49 UTC

[TEST] Apache Struts 7.0.1 test build is ready

Hello,

This is a patch release of Struts 7.x which contains only non-breaking changes.
Please take the time and test the bits - any help is appreciated.
Please report any problems you will spot.

Here are the changes from the previous version:
https://github.com/apache/struts/releases/tag/STRUTS_7_0_1

Staging Maven repo
https://repository.apache.org/content/groups/staging/

Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/7.0.1/

Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+7.0.1


Kind regards
--
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [TEST] Apache Struts 7.0.1 test build is ready

Posted by Lukasz Lenart <lu...@apache.org>.
This test is closed as some issues have been discovered, a new test
build is underway :)

niedz., 2 lut 2025 o 08:38 Lukasz Lenart <lu...@apache.org> napisał(a):
>
> Hello,
>
> This is a patch release of Struts 7.x which contains only non-breaking changes.
> Please take the time and test the bits - any help is appreciated.
> Please report any problems you will spot.
>
> Here are the changes from the previous version:
> https://github.com/apache/struts/releases/tag/STRUTS_7_0_1
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/7.0.1/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+7.0.1
>
>
> Kind regards
> --
> Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Struts 7.0.1 JakartaMultiPartRequest

Posted by Łukasz Lenart <lu...@gmail.com>.
niedz., 2 lut 2025 o 12:10 Greg Huber <gr...@gmail.com> napisał(a):
>
> ok.  If you can post the fix I can test it.

Here is the fix
https://github.com/apache/struts/pull/1203

> btw, I tried the previous commit on JakartaMultiPartRequest and that
> also did not allow the method, thought I tested this on 7.0.0.🙁

No worries, thanks a lot for your help!


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Struts 7.0.1 JakartaMultiPartRequest

Posted by Greg Huber <gr...@gmail.com>.
ok.  If you can post the fix I can test it.

btw, I tried the previous commit on JakartaMultiPartRequest and that 
also did not allow the method, thought I tested this on 7.0.0.🙁

On 02/02/2025 11:04, Łukasz Lenart wrote:
> niedz., 2 lut 2025 o 11:15 Greg Huber<gr...@gmail.com> napisał(a):
>> I get this warning:
>>
>> 2025-02-02 10:06:49,238 WARN
>> org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
>> JakartaMultiPartRequest:processNormalFormField - Form field
>> [action:myFiles!upload] is rejected!
>>
>> 2025-02-02 10:07:31,275 WARN
>> org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
>> JakartaMultiPartRequest:processNormalFormField - Form field
>> [action:myFiles!upload] is rejected!
> Hm... the change [1] blocks DMI, looks like I must take this into
> account when creating ExcludedPatternsChecker. Thanks for reporting so
> quickly!
>
> [1]https://issues.apache.org/jira/browse/WW-5501
>
>
> Cheers
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@struts.apache.org
> For additional commands, e-mail:dev-help@struts.apache.org
>

Re: Struts 7.0.1 JakartaMultiPartRequest

Posted by Łukasz Lenart <lu...@gmail.com>.
niedz., 2 lut 2025 o 11:15 Greg Huber <gr...@gmail.com> napisał(a):
>
> I get this warning:
>
> 2025-02-02 10:06:49,238 WARN
> org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
> JakartaMultiPartRequest:processNormalFormField - Form field
> [action:myFiles!upload] is rejected!
>
> 2025-02-02 10:07:31,275 WARN
> org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
> JakartaMultiPartRequest:processNormalFormField - Form field
> [action:myFiles!upload] is rejected!

Hm... the change [1] blocks DMI, looks like I must take this into
account when creating ExcludedPatternsChecker. Thanks for reporting so
quickly!

[1] https://issues.apache.org/jira/browse/WW-5501


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Struts 7.0.1 JakartaMultiPartRequest

Posted by Greg Huber <gr...@gmail.com>.
I get this warning:

2025-02-02 10:06:49,238 WARN 
org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest 
JakartaMultiPartRequest:processNormalFormField - Form field 
[action:myFiles!upload] is rejected!

2025-02-02 10:07:31,275 WARN 
org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest 
JakartaMultiPartRequest:processNormalFormField - Form field 
[action:myFiles!upload] is rejected!

and the upload does not work now.

My form is

<s:form id="uploadFiles" action="myFiles" method="POST" 
enctype="multipart/form-data">

<s:file name="uploadedFiles" size="95" multiple="multiple" /> <s:file 
name="uploadedFiles" size="95" multiple="multiple" /> <s:submit 
value="upload" action="myFiles!upload" />

</s:form>