Issue Bug Closed

#93797error while property mapping a FileReference in frontend

Oliver Beck 03/22/21, 12:00 updated 09/13/21, 23:01

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 property="logo"></f:form>

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

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.