Bug #88356
closedRecord Preview broken in 9.5.6
100%
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
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60758
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60758
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60759
Updated by Daniel Dorndorf over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 617f0633bbbedc35025f70b2712416b6677e900c.
Updated by Benni Mack almost 5 years ago
- Related to Bug #88296: Record Preview does not work in 9.5.6 with News as an example added
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