#88356Record Preview broken in 9.5.6
Description
When building the paramaters for the preview url a condition checking the if a original version record is available seems to have syntactical issue.
in “@typo3/sysext/backend/Classes/Controller/EditDocumentController.php:1032@” the null coalesce operator seems to be a problem here. When having “versioningWS” true in your TCA the condition will be fullfilled even if “@$recordArray[‘t3ver_oid’] > 0@” is definetely false.
The only way fixing this would be to cut out the null coalesce assignment into a variable, then the if condition will work properly.
Greetings
Daniel