Project

General

Profile

Actions

Bug #77513

closed

Relation handler workspace bug for types different to inline

Added by Gleb Levitin over 8 years ago. Updated almost 3 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 #2

Updated by Gleb Levitin almost 8 years ago

  • Assignee set to Gleb Levitin
Actions #3

Updated by Gleb Levitin almost 8 years ago

  • Assignee deleted (Gleb Levitin)
Actions #4

Updated by Benni Mack over 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #5

Updated by Riccardo De Contardi over 4 years ago

Is this related? #82086

Actions #6

Updated by Benni Mack almost 3 years ago

  • Related to Bug #82086: Frontend Preview Mode And Missing Inline Elements in Workspace added
Actions #7

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Closed

Hey. I'm pretty certain this bug has been fixed meanwhile: We've had many workspace related patches in v10 and v11, and publishing of select and group records should pretty much do, at least there is no known specific issue. If you're still able to reproduce issues in this area, please create new issues with examples on how to reproduce.

Actions

Also available in: Atom PDF