Project

General

Profile

Actions

Bug #77513

closed

Relation handler workspace bug for types different to inline

Added by Gleb Levitin over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Start date:
2016-08-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Relation handler replaces the UID of relativized record by the UID of the original one only for the type inline and not for other types (for example select).

SYSEXT:core/Classes/Database/RelationHandler.php

..........

if ($configuration['type'] !== 'inline' || empty($configuration['foreign_table']) || !empty($configuration['foreign_field'])
    || !empty($configuration['MM']) || count($this->tableArray) !== 1 || empty($this->tableArray[$configuration['foreign_table']])
    || (int)$GLOBALS['BE_USER']->workspace === 0 || !BackendUtility::isTableWorkspaceEnabled($configuration['foreign_table'])) {
    return;
}

..........

$item['id'] = $this->getLiveDefaultId($item['table'], $item['id']);

..........

This results in display error and does not allow workspace publication for records containing relation types different to inline.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82086: Frontend Preview Mode And Missing Inline Elements in WorkspaceClosed2017-08-11

Actions
Actions

Also available in: Atom PDF