Actions
Bug #94153
closedCannot persist file reference using form database finisher
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2021-05-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
To "encapsulate" resources that were uploaded using a form element, a new `PseudoFileReference` class was introduced in TYPO3-CORE-SA-2021-002, extending Extbase's `FileReference` domain model.
When trying to persist those files using Extbase's `PersistenceManager`, the corresponding database table is assumed to be `tx_form_mvc_property_typeconverter_pseudofilereference` instead of correct `sys_file_reference`.
In order to solve this issue, a corresponding mapping for the new domain model is introduced.
Corresponding Exception¶
#1470230766 TYPO3\CMS\Extbase\Persistence\Generic\Storage\Exception\SqlErrorException Table 'db.tx_form_mvc_property_typeconverter_pseudofilereference' doesn't exist
Files
Actions