Project

General

Profile

Actions

Bug #88685

closed

With "Hide default translation of page" no link for alternate language is generated

Added by Ebin Mathew almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-07-04
Due date:
% Done:

0%

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

Description

I have a migrated typo3 version from 6.2 LTS to latest 9.5.8 which have single page tree with multiple languages.

In our typo3 instance, we are generating the menu using special type: directory & list. But for translated pages, those pages which have 'Hide default translation of page' option checked menu isn't rendered in preferred languages.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87805: With "Hide default translation of page" no link for another language is generatedClosed2019-02-27

Actions
Related to TYPO3 Core - Bug #88344: HMENU directory incompatible with free modeClosed2019-05-13

Actions
Actions #1

Updated by Ebin Mathew almost 5 years ago

  • Related to Bug #87805: With "Hide default translation of page" no link for another language is generated added
Actions #2

Updated by Riccardo De Contardi almost 5 years ago

I report here the description of #87805 to keep track of it:

I am using a single-page tree, multi-language setup with English as default language and German as second language.

On one (English) page the option "Hide default translation of page" is set. When I now use the "Menu subpages" content element on a German Page, the link to this page (generated by the MenuProcessor) is empty.

I digged a little bit deeper and recognized, that also the f:page.uid view helper has the problem. If I give the view helper the uid of the (English) page I am getting an empty result for the German page.

If I unset the option "Hide default translation of page" everything works as expected.

I recognized this behaviour under TYPO3 9.5.4.

Actions #3

Updated by Riccardo De Contardi over 4 years ago

I performed the following tests on TYPO3 9.5.9 and 10.1.0-dev

Prerequistes

  • Fresh TYPO3 installation with a default language (Italian) and an additional language (ID=1, English)
  • create at least three pages with the following structure:
+--Pagina
      |  
      +-- Sottopagina 1
      |
      +-- Sottopagina 2
  • Translate the structure in English:
+--Page
      |  
      +-- Subpage 1
      |
      +-- Subpage 2

Test 1

  1. On "Pagina" create a content element, type: Menu > Submenu
  2. Select as starting point "Pagina"
  3. Translate it (Mode: Translate)

Results on frontend when visiting the page "Pagina" in italian and english

"Pagina" (Italian) "Page" (English)
The menu contains:
Sottopagina 1 
Sottopagina 2  
Subpage 1 
Subpage 2  

Test 2

Edit "Sottopagina 2" > tab "Languages" > check "Hide default translation of page"

Results on frontend when visiting the page "Pagina" in italian and english

"Pagina" (Italian) "Page" (English)
The menu contains:
Sottopagina 1  
Subpage 1 
Subpage 2  

All the links are working.

Is this the expected result? Should a different test be performed?

Actions #4

Updated by Benni Mack over 4 years ago

  • Status changed from New to Closed

I tried it as well, and HMENU list and directory are working in TYPO3 v9.5.13. If the problem still occurs, let me know, and I will re-open the ticket.

Actions #5

Updated by Benni Mack over 4 years ago

  • Related to Bug #88344: HMENU directory incompatible with free mode added
Actions

Also available in: Atom PDF