Issue Bug Closed

#102364RequestBuilder::build unnesting $fileParameters one level to much

Sebastian Fischer 11/12/23, 07:12 updated 07/09/24, 15:19

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, []);

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 4

History 5

  1. Sebastian Fischer changed attached setArgumentValue_current.png attached setArgumentValue_expected.png 11/12/23, 07:21

  2. David Blatter commented 11/27/23, 14:32

    same issue: #102361

  3. Garvin Hicking changed Duplicates #102361 11/29/23, 15:38

  4. Georg Ringer commented and changed status New Resolved 06/11/24, 23:19

    this has been fixed for v12 with #102271

  5. Benni Mack changed status Resolved Closed 07/09/24, 15:19