Project

General

Profile

Actions

Bug #88356

closed

Record Preview broken in 9.5.6

Added by Daniel Dorndorf over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2019-05-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
preview, record
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88296: Record Preview does not work in 9.5.6 with News as an exampleClosed2019-05-08

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

Actions
Actions

Also available in: Atom PDF