Project

General

Profile

Actions

Bug #88296

closed

Record Preview does not work in 9.5.6 with News as an example

Added by Felix Herrmann almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2019-05-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In TYPO3 9.5.6 is a preview record function implemented that expects some kind of version information for workspaces support:

typo3_src-9.5.6/typo3/sysext/backend/Classes/Controller/EditDocumentController.php

1031:
// Always use live workspace record uid for the preview
if ($GLOBALS['TCA'][$table]['ctrl']['versioningWS'] ?? false && $recordArray['t3ver_oid'] > 0) {
$recordId = $recordArray['t3ver_oid'];
}

We get an empty preview because the uid for the record is 0 even if t3ver_oid is 0.

https://www.mydomain.de/aktuelles/news-ansicht?tx_news_pi1%5Baction%5D=detail&tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Bnews_preview%5D=0&cHash=13e1c8c16a8cc08512a8e5b39a425984

When you disable the versioning feature in the TCA from your extension it works.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88297: PageTSConfig is not used if it's not in the root pageClosed2019-05-08

Actions
Related to TYPO3 Core - Bug #88356: Record Preview broken in 9.5.6Closed2019-05-15

Actions
Actions #1

Updated by Riccardo De Contardi almost 5 years ago

  • Category set to Workspaces
Actions #2

Updated by Benni Mack over 4 years ago

  • Related to Bug #88297: PageTSConfig is not used if it's not in the root page added
Actions #3

Updated by Benni Mack over 4 years ago

  • Related to Bug #88356: Record Preview broken in 9.5.6 added
Actions #4

Updated by Benni Mack over 4 years ago

  • Status changed from New to Closed

Fixed with #88356

Actions

Also available in: Atom PDF