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 #1

Updated by Susanne Moog about 2 years ago

  • Category set to Extbase
Actions #2

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 9 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/+/73868

Actions #3

Updated by Gerrit Code Review about 2 years ago

Patch set 10 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/+/73868

Actions #4

Updated by Gerrit Code Review about 2 years ago

Patch set 11 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/+/73868

Actions #5

Updated by Gerrit Code Review about 2 years ago

Patch set 12 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/+/73868

Actions #6

Updated by Gerrit Code Review about 2 years ago

Patch set 13 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/+/73868

Actions #7

Updated by Gerrit Code Review about 2 years ago

Patch set 14 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/+/73868

Actions #8

Updated by Gerrit Code Review about 2 years ago

Patch set 15 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/+/73868

Actions #9

Updated by Benni Mack about 2 years ago

  • Parent task set to #97353
Actions #10

Updated by Susanne Moog about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions #12

Updated by Andreas Kienast about 1 year ago

  • Related to Bug #100362: Issue with imageUpload and fileUpload fieds added
Actions #13

Updated by Stephan Großberndt 10 months ago

  • Precedes Bug #101142: Allow UploadedFile in Folder->addUploadedFile() added
Actions #14

Updated by Christian Kuhn 9 months ago

  • Related to Task #101501: Remove backwards-compat files array in extbase added
Actions #15

Updated by Daniel Goerz 6 months ago

  • Related to Bug #102283: Extbase file upload using type converters not possible any more added
Actions #16

Updated by Torben Hansen 6 months ago

  • Related to deleted (Bug #102283: Extbase file upload using type converters not possible any more)
Actions #17

Updated by Daniel Goerz 2 months ago

  • Related to Epic #103022: Extbase file upload handling added
Actions #18

Updated by Daniel Goerz 2 months ago

  • Related to Bug #102271: Broken backwards compatibility in request builder for file uploads as object property added
Actions #19

Updated by Daniel Goerz 2 months ago

  • Related to Bug #102283: Extbase file upload using type converters not possible any more added
Actions

Also available in: Atom PDF