[ https://issues.apache.org/jira/browse/WW-5461?focusedWorklogId=932932&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-932932 ]
ASF GitHub Bot logged work on WW-5461: -------------------------------------- Author: ASF GitHub Bot Created on: 03/Sep/24 06:40 Start Date: 03/Sep/24 06:40 Worklog Time Spent: 10m Work Description: sonarcloud[bot] commented on PR #1041: URL: https://github.com/apache/struts/pull/1041#issuecomment-2325717044 ## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1041) **Quality Gate passed** Issues  [5 New issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1041&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1041&issueStatuses=ACCEPTED) Measures  [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1041&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [80.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1041&metric=new_coverage&view=list)  [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1041&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1041) Issue Time Tracking ------------------- Worklog Id: (was: 932932) Time Spent: 50m (was: 40m) > Multiple uploaded files cannot be processed individually > -------------------------------------------------------- > > Key: WW-5461 > URL: https://issues.apache.org/jira/browse/WW-5461 > Project: Struts 2 > Issue Type: Bug > Components: Core > Affects Versions: 6.6.0 > Reporter: Florian Schlittgen > Assignee: Lukasz Lenart > Priority: Minor > Labels: Upload > Fix For: 6.7.0, 7.0.0 > > Time Spent: 50m > Remaining Estimate: 0h > > The ActionFileUploadInterceptor was introduced with WW-5371 (Struts version > 6.6.0) and the API has been greatly simplified as a result. However, there is > a problem if you upload several files and want to process them individually > later. This is no longer possible because the name of the input element > (<input type="file" name="myFile">) is not part of the "UploadedFile" class. > In my opinion, since the class "UploadedFile" represents exactly what it is > named (an uploaded file) and the input name is part of the multipart request, > "inputName" should be included as a class member. This keeps the > "UploadedFilesAware" interface clean and "inputName" can be used in the > action if required without having to change the API. -- This message was sent by Atlassian Jira (v8.20.10#820010)