Project

General

Profile

Actions

Bug #94153

closed

Cannot persist file reference using form database finisher

Added by Oliver Hader over 3 years ago. Updated about 3 years ago.

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

94153.png (204 KB) 94153.png Oliver Hader, 2021-05-18 14:13
Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69176

Actions #2

Updated by Oliver Hader over 3 years ago

Actions #3

Updated by Oliver Hader over 3 years ago

  • Status changed from New to Under Review
Actions #4

Updated by Oliver Hader over 3 years ago

  • Description updated (diff)
Actions #5

Updated by Oliver Hader over 3 years ago

  • Description updated (diff)
Actions #6

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69176

Actions #7

Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69176

Actions #8

Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69178

Actions #9

Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69179

Actions #10

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69178

Actions #11

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69179

Actions #12

Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69179

Actions #13

Updated by Oliver Hader over 3 years ago

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

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF