#88296Record Preview does not work in 9.5.6 with News as an example
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.