Project

General

Profile

Actions

Bug #66957

closed

Section Index links not working on translated page

Added by Chris no-lastname-given over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2015-05-14
Due date:
% Done:

0%

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

Description

Section index on translated page links Page Content uid from default language instead of translated Page Content uid.

To reproduce:
1. Setup new page
2. Translate page to new language (L=1)
3. Add new Page Content (uid 1)
4. Translate content to new language (uid 2)
Make sure "Show in Section Menus" is true
5. Add new Page Content Special Menus/Section index

On default language page menu will link to:
/index.php?id=1#c1

On translated page menu will link to:
/index.php?id=1&L=1#c1

instead of:
/index.php?id=1&L=1#c2

Actions #1

Updated by Riccardo De Contardi about 9 years ago

  • Category set to Content Rendering
Actions #2

Updated by Tymoteusz Motylewski over 8 years ago

works fine in 7.6.9 with fluid styled content

Actions #3

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from New to Closed

I think I can close this issue,as it does not seem to affect the latest TYPO3 versions:

I performed the following test on TYPO3 7.6.21 with Fluid Styled Content

Initial setup: default language:ITA, language with ID=1: ENG

1. create a page "Test66957" (ID=41)
2. translate it "Test66957 ENG"
3. "Test66957" > create content (CType: Header, header "TEST")
3.1 the content element "TEST" has ID=63
4. Translate it (Mode: Translate) >
4.1 the content element "[Translate to English:] TEST" has ID=64
5. "Test66957" > create content (CType: Special Menu, header "Section menu", Menu Type:"Section Index"; Selected pages: the page itself)
5.1 the content element "Section menu" has ID=65
6. Translate it again
6.1 the content element "[Translate to English:] Section menu" has ID=66

Result:

in default language (L=0) the section menu has 2 links:

index.php?id=41&L=0#c65
index.php?id=41&L=0#c63

In ENG (L=1) the section menu has 2 links:

index.php?id=41&L=1#c66
index.php?id=41&L=1#c64

I repeated the same test with "Copy" instead of "Translate" mode and the result is the same.
I repeated both tests using CSS Styled content and the result is the same

Verdict:

Works as expected.

I also repeated the same test on TYPO3 9.0.0-dev (latest master), only with Fluid Styled Content and I obtained the same result.

If you think that this is the wrong decision or that a different test should be performed, please reopen it or open a new issue with a reference to this one. Thank you.

Actions

Also available in: Atom PDF