Project

General

Profile

Actions

Bug #93797

closed

error while property mapping a FileReference in frontend

Added by Oliver Beck about 3 years ago. Updated over 2 years ago.

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

0%

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

Description

this problem exists since updating from 9.5.24 to 9.5.26. I have file uploads fields in fluid forms, for instance:

<f:form.upload property="logo" />

the property "logo" inside the model is of type FileReference (custom FileReference Class, which extends \TYPO3\CMS\Extbase\Domain\Model\FileReference).
That worked as expected when the form was submitted, with 9.5.26 I get this error

(1/2) #1297759968 TYPO3\CMS\Extbase\Property\Exception

Exception while property mapping at property path "logo": Property "name" was not found in target object of type "Vendor\PackageName\Domain\Model\FileReference".

see attachment for further details


Files

exception.png (217 KB) exception.png Oliver Beck, 2021-03-22 11:56

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #5718: Implement File upload supportNew2009-12-11

Actions
Actions

Also available in: Atom PDF