Bug #102283
openExtbase file upload using type converters not possible any more
0%
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 6 months ago
- Related to Task #97214: Use uploadedFile objects instead of $_FILES added
Updated by Daniel Goerz 6 months 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 6 months 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 6 months ago
- Related to deleted (Task #97214: Use uploadedFile objects instead of $_FILES)
Updated by Torben Hansen 6 months ago
- Related to Task #101501: Remove backwards-compat files array in extbase added
Updated by Garvin Hicking 6 months ago
- Related to Bug #102271: Broken backwards compatibility in request builder for file uploads as object property added
Updated by Daniel Goerz 3 months ago
- Related to Epic #103022: Extbase file upload handling added
Updated by Daniel Goerz 3 months ago
- Related to Task #97214: Use uploadedFile objects instead of $_FILES added