Project

General

Profile

Actions

Bug #66523

closed

Refindex error for link wizard fields in flexforms

Added by Dominique Kreemers over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
Start date:
2015-04-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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.
The Problem is: In the Workspaces Module TYPO3 tries to find the sys_file Record (\TYPO3\CMS\Version\Dependency\ElementEntity
>getRecord) with the given Workspace-Uid, and because the sys_file table isn't enabled for workspaces the result of this query is empty.
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

flexform_test.zip (3.94 KB) flexform_test.zip Dominique Kreemers, 2015-04-21 16:56

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #66572: Workspaces and templavoiaClosedAlexander Opitz2015-04-24

Actions
Related to TYPO3 Core - Bug #66882: Workspace 'file_reference'Closed2015-05-11

Actions
Actions #1

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

Actions #2

Updated by Wouter Wolters over 9 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #3

Updated by Wouter Wolters over 9 years ago

  • Target version set to 6.2.13
Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Dominique Kreemers over 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF