#92775Preview of a page in an additional language fails if default and localized page is hidden
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
Reviews 2
Related issues 1
History 812
-
Riccardo De Contardi commented 11/05/20, 10:26
-
Alex Kellner commented 11/05/20, 10:31
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.
-
Georg Ringer changed status
NewAccepted 11/06/20, 07:12 -
Markus Klein changed priority
Should haveMust have 11/18/22, 16:16 -
Markus Klein changed Related to #20873 11/18/22, 16:18
-
Gerrit Code Review pushed patch set 1 for main to change 79655 status
AcceptedUnder Review 07/06/23, 06:52 -
Gerrit Code Review pushed patch set 2 for main to change 79655 07/06/23, 10:18
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 79813 07/06/23, 11:41
-
Susanne Moog commented and changed status
Under ReviewResolved done0 %100 % 07/06/23, 11:45Applied in changeset commit:495c779938df833702406e5e887270c61b4b59c4.
-
Gerrit Code Review pushed patch set 2 for 12.4 to change 79813 status
ResolvedUnder Review 07/06/23, 11:58 -
Susanne Moog commented and changed status
Under ReviewResolved 07/06/23, 12:40Applied in changeset commit:6f5f1d9c8e7a47b5a37806fd8b0a8ba8609fddfe.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:45
Looks similar to #20873 but not quite the same…