Actions
Bug #102364
closedRequestBuilder::build unnesting $fileParameters one level to much
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2023-11-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:
Description
TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::build line 143 reduces $fileParameters nesting which breaks upload handling
Expected result
$fileParameters['user']['image']0 = ['name'....];
Current result
$fileParameters['image']0 = ['name'....];
This leads to missing uploads in argument user.
Solution would be to drop the condition after $fileParameters = $this->mapUploadedFilesToParameters($files, []);
Files
Actions