Project

General

Profile

Actions

Task #97214

closed

Epic #97353: Fully use PSR-7 instead of superglobals $_FILES

Use uploadedFile objects instead of $_FILES

Added by Susanne Moog about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2022-03-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

To streamline TYPO3s handling of uploaded files, the PSR implementation and UploadedFile objects should be used. The request already contains the necessary conversion and objects. Extbase and the extension manager need to use the corresponding objects, FAL ResourceStorage should be capable of handling UploadedFile objects, too.

Next steps after this:
- Make FAL use only PSR API methods if possible (--> think about potentially different types of uploaded files per driver as moveTo needs to be able to handle whichever destination type, not only local filesystem)
- Use UploadedFile in Form
- Build real API for uploading files in extbase (see #5718)


Related issues 6 (3 open3 closed)

Related to TYPO3 Core - Bug #100362: Issue with imageUpload and fileUpload fiedsResolved2023-03-31

Actions
Related to TYPO3 Core - Task #101501: Remove backwards-compat files array in extbaseClosed2023-07-31

Actions
Related to TYPO3 Core - Epic #103022: Extbase file upload handlingNew2024-03-31

Actions
Related to TYPO3 Core - Bug #102271: Broken backwards compatibility in request builder for file uploads as object propertyResolved2023-10-27

Actions
Related to TYPO3 Core - Bug #102283: Extbase file upload using type converters not possible any moreNew2023-10-30

Actions
Precedes TYPO3 Core - Bug #101142: Allow UploadedFile in Folder->addUploadedFile()Under ReviewStephan Großberndt2022-03-212022-03-21

Actions
Actions

Also available in: Atom PDF