Bug #75116
closedPreview (hidden) page translation: Page is not available in the requested language
100%
Description
Hi, I notice that a hidden page-translation will not render a preview like the standard page.
I think this happens cause "pages_language_overlay" will not handled like "pages" within the "\TYPO3\CMS\Frontend\Page\PageRepository::enableFields()" function.
My suggestion is changing:
$show_hidden = $table === 'pages'
? $this->getTypoScriptFrontendController()->showHiddenPage
: $this->getTypoScriptFrontendController()->showHiddenRecords;
to:
$show_hidden = $table === 'pages' || $table === 'pages_language_overlay'
? $this->getTypoScriptFrontendController()->showHiddenPage
: $this->getTypoScriptFrontendController()->showHiddenRecords;
kind regards
heiko
Files
Updated by Gerrit Code Review over 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47263
Updated by Gerrit Code Review over 8 years ago
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/47263
Updated by Gerrit Code Review over 8 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/47263
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47315
Updated by Heiko Hardt over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 071abf0d0b8441168ddee09ea3bc63de55263146.