Project

General

Profile

Actions

Bug #100792

open

File Upload in Extbase Context (Frontend)

Added by Daniel Hoffmann over 1 year ago. Updated about 1 year ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2023-05-03
Due date:
% Done:

0%

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

Description

We are getting the extension femanager ready for TYPO3v12. But we faced a Problem with the Fileupload in Extbase Context.

When submitting an upload field as a property of an extbase object in v12 it is changed to an UploadedFile Object. When we try to convert it with a TypeConverter it throws an error because it is not a simple datatype. What have we missed? What is the best solution to handle file uploads in an extbase object context?

Actions #1

Updated by Benni Mack over 1 year ago

  • Target version changed from 12 LTS to Candidate for patchlevel
Actions #2

Updated by Torben Hansen about 1 year ago

  • Status changed from New to Needs Feedback

Things changed in v12 regarding file uploads in extbase (see #97214)

So you must adapt your TypeConverter as in ext:form for v12 - see this commit: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78336

Actions

Also available in: Atom PDF