Project

General

Profile

Actions

Bug #92775

closed

Preview of a page in an additional language fails if default and localized page is hidden

Added by Alex Kellner about 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2020-11-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20873: Preview of hidden page translations is not possibleClosed2009-08-13

Actions
Actions #1

Updated by Riccardo De Contardi about 4 years ago

Looks similar to #20873 but not quite the same...

Actions #2

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.

Actions #3

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Markus Klein about 2 years ago

  • Priority changed from Should have to Must have
Actions #5

Updated by Markus Klein about 2 years ago

  • Related to Bug #20873: Preview of hidden page translations is not possible added
Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

Updated by Susanne Moog over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

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

Actions #11

Updated by Susanne Moog over 1 year ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF