Bug #66523
closedRefindex error for link wizard fields in flexforms
100%
Description
If you use the link wizard in a flexform field inside a custom workspace to link to a FAL Record (sys_file), TYPO3 will create a reference to the FAL Record.
So far so good, this is the expected behaviour, because of this we can see in File > Filelist that this record has a RefIndex record pointing to it.>getRecord) with the given Workspace-Uid, and because the sys_file table isn't enabled for workspaces the result of this query is empty.
The Problem is: In the Workspaces Module TYPO3 tries to find the sys_file Record (\TYPO3\CMS\Version\Dependency\ElementEntity
As a result of this \TYPO3\CMS\Version\Dependency\ElementEntityProcessor->createNewDependentElementCallback will throw a RuntimeException that tells you that "Element sys_file:{someFileUid} does not exist".
If you install the attached extension into a fresh TYPO3 6.2 install you can reproduce the error by creating a content element of Type "Flexform Test" inside of a custom workspace, change to the "Flexform Test" tab and select a File by clicking on the link icon to open the link wizard. After saving your changes, you will have the error right after going to the workspace module and switching into your workspace where you created the content element.
Files
Updated by Gerrit Code Review over 9 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 http://review.typo3.org/38858
Updated by Wouter Wolters over 9 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38858
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38858
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40044
Updated by Dominique Kreemers over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c78d5de1304fe0bd3af0c6729fdf7a84855802fe.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed