[
https://issues.apache.org/jira/browse/WW-5615?focusedWorklogId=1005914&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1005914
]
ASF GitHub Bot logged work on WW-5615:
--------------------------------------
Author: ASF GitHub Bot
Created on: 18/Feb/26 17:58
Start Date: 18/Feb/26 17:58
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1584:
URL: https://github.com/apache/struts/pull/1584#issuecomment-3922103096
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1584)
**Quality Gate failed**
Failed conditions
 [B Maintainability Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1584)
(required ≥ A)
[See analysis details on SonarQube
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1584)
##
 Catch issues before they fail your Quality Gate with our IDE extension
 [SonarQube for
IDE](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
Issue Time Tracking
-------------------
Worklog Id: (was: 1005914)
Time Spent: 20m (was: 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: 20m
> 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)