Bug #92775
closedPreview of a page in an additional language fails if default and localized page is hidden
100%
Description
If you are logged in at the same time in backend, you can preview hidden pages (since ever).
But if you add a translation to a page (also a page record now in TYPO3 10), you also want to see this translated page before unhiding.
While the default page record has value pages.hidden=1 the translation has the value pages.hidden=0 it is not possible to use the preview for the translation. Without 403 handling the error comes up in frontend:
The page did not exist or was inaccessible. Reason: ID was not an accessible page
A quick fix is to also set the translation to hidden, so now you can view the translated page in frontend.
Playing around with the fallbackType in site configuration doesn't have any effect. Tested on a blank TYPO3 10.4.9
Updated by Riccardo De Contardi about 4 years ago
Looks similar to #20873 but not quite the same...
Updated by Alex Kellner about 4 years ago
Update: While I could not reproduce it on a naked TYPO3-instance, we also face issues when parent or great-parent pages do not have any localization. This also prevents the preview in additional languages for $university with the same error message (in this case it don't matter if pages.hidden is set to 0 or 1 for the translated page itself). I just wrote this, because this could maybe help you and could be related to the described issue.
Updated by Markus Klein about 2 years ago
- Priority changed from Should have to Must have
Updated by Markus Klein about 2 years ago
- Related to Bug #20873: Preview of hidden page translations is not possible added
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79655
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79655
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79813
Updated by Susanne Moog over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 495c779938df833702406e5e887270c61b4b59c4.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79813
Updated by Susanne Moog over 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 6f5f1d9c8e7a47b5a37806fd8b0a8ba8609fddfe.