[
https://issues.apache.org/jira/browse/WW-5615?focusedWorklogId=1005901&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1005901
]
ASF GitHub Bot logged work on WW-5615:
--------------------------------------
Author: ASF GitHub Bot
Created on: 18/Feb/26 17:17
Start Date: 18/Feb/26 17:17
Worklog Time Spent: 10m
Work Description: lukaszlenart merged PR #1584:
URL: https://github.com/apache/struts/pull/1584
Issue Time Tracking
-------------------
Worklog Id: (was: 1005901)
Remaining Estimate: 0h
Time Spent: 10m
> Adapt to renamed methods in Apache Commons FileUpload 2.0.0-M5
> --------------------------------------------------------------
>
> Key: WW-5615
> URL: https://issues.apache.org/jira/browse/WW-5615
> Project: Struts 2
> Issue Type: Task
> Components: Core
> Affects Versions: 7.1.1
> Reporter: Markus Fischer
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 7.2.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I fear these changes impact Struts2, if I am not mistaken. With Apache
> Commons FileUpload 2.0.0-M5 I get:
> ??java.lang.NoSuchMethodError: 'void
> org.apache.commons.fileupload2.jakarta.servlet6.JakartaServletDiskFileUpload.setSizeMax(long)'??
> In the release notes of Apache Commons FileUpload 2.0.0-M5
> [[https://dist.apache.org/repos/dist/release/commons/fileupload/RELEASE-NOTES.txt|https://dist.apache.org/repos/dist/release/commons/fileupload/RELEASE-NOTES.txt]|https://dist.apache.org/repos/dist/release/commons/fileupload/RELEASE-NOTES.txt]
> we can see:
> * Rename MultipartInput.Builder.[get|set]PartHeaderSizeMax() to
> [get|set]MaxPartHeaderSize(). Thanks to Gary Gregory.
> * Rename MultipartInput.getPartHeaderSizeMax() to getMaxPartHeaderSize().
> Thanks to Gary Gregory.
> * Rename AbstractFileUpload.[get|set]SizeMax() to
> AbstractFileUpload.[get|set]MaxSize(). Thanks to Gary Gregory.
> * Rename AbstractFileUpload.[get|set]FileSizeMax() to
> AbstractFileUpload.[get|set]MaxFileSize(). Thanks to Gary Gregory.
> * Rename AbstractFileUpload.[get|set]FileCountMax() to
> AbstractFileUpload.[get|set]MaxFileCount(). Thanks to Gary Gregory.
> So basically from ...SizeMax() to ...MaxSize()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)