Actions
Bug #88296
closedRecord Preview does not work in 9.5.6 with News as an example
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.
When you disable the versioning feature in the TCA from your extension it works.
Updated by Benni Mack almost 5 years ago
- Related to Bug #88297: PageTSConfig is not used if it's not in the root page added
Updated by Benni Mack almost 5 years ago
- Related to Bug #88356: Record Preview broken in 9.5.6 added
Actions