Bug #102283
closedExtbase file upload using type converters not possible any more
100%
Description
With #97214, the $_FILES
globale variable is not used within extbase any more. The change however misses, that the uploaded files previously were merged into extbase arguments, so currently a file uploaded through the Fluid upload ViewHelper (example: <f:form.upload property="file" />
) is not available as a mapped property. This results in, that all 3rd party code, which makes use of a custom TypeConverter for file uploads (like the one we use in ext:form or Helmuts Upload Example) does not work any more, since files are simply not uploaded and mapped any more.
Updated by Daniel Goerz over 1 year ago
- Related to Task #97214: Use uploadedFile objects instead of $_FILES added
Updated by Daniel Goerz over 1 year ago
To add my comment from the EXT:form Patch:
"I dont think the EXT:form patch is the "correct" fix. We should do the array_merge_recursive in the extbase RequestBuilder instead to have the uploaded files also available as arguments in the ActionController, so that we can map them on object properties via PropertyMapper."
Updated by Torben Hansen over 1 year ago
As the backwards compatibility has been removed in v13 (see https://review.typo3.org/c/Packages/TYPO3.CMS/+/80106), we most likely need "something new" to handle file uploads in extbase
Updated by Torben Hansen over 1 year ago
- Related to deleted (Task #97214: Use uploadedFile objects instead of $_FILES)
Updated by Torben Hansen over 1 year ago
- Related to Task #101501: Remove backwards-compat files array in extbase added
Updated by Garvin Hicking over 1 year ago
- Related to Bug #102271: Broken backwards compatibility in request builder for file uploads as object property added
Updated by Daniel Goerz 12 months ago
- Related to Epic #103022: Extbase file upload handling added
Updated by Daniel Goerz 12 months ago
- Related to Task #97214: Use uploadedFile objects instead of $_FILES added
Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85449
Updated by Gerrit Code Review 6 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85449
Updated by Anonymous 6 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e3ad96ad98c3d04b3b8c21b22869ec139392fc38.