Bug #66957
closedSection Index links not working on translated page
0%
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
Updated by Riccardo De Contardi about 9 years ago
- Category set to Content Rendering
Updated by Tymoteusz Motylewski over 8 years ago
works fine in 7.6.9 with fluid styled content
Updated by Riccardo De Contardi over 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.