Bug #91292
closedHMENU :: Special directory :: Second level is not being generated for non-default languages
100%
Description
Hey guys,
I have noticed, that the commit [[https://github.com/TYPO3/TYPO3.CMS/commit/ae722d641e]] breaks the generation of the second level of my menu for all non-default languages.
I am using fallbackType: free for all non-default languages. As soon as I switch to fallbackType: strict, the issue disappears.
This is my current site config:
rootPageId: 1 base: / baseVariants: { } languages: - title: 'English (Default)' enabled: true languageId: '0' base: /us/ typo3Language: default locale: en_US iso-639-1: en navigationTitle: '' hreflang: '' direction: '' flag: global - title: Deutsch enabled: true languageId: '2' base: /de/ typo3Language: de locale: de_DE iso-639-1: de navigationTitle: '' hreflang: '' direction: '' fallbackType: free fallbacks: '0' flag: de errorHandling: { } routes: { } routeEnhancers: PageTypeSuffix: type: PageType default: '/' index: '/' map: '/': 0
Typoscript for menu:
temp.footerNav = HMENU temp.footerNav { special = directory special.value = 1 wrap = <ul class="main-links">|</ul> 1 = TMENU 1 { expAll = 1 NO { allStdWrap.insertData = 1 wrapItemAndSub = <li>|</li> wrapItemAndSub.override = <li class="is-visible-mobile">|</li> wrapItemAndSub.override.if { value = 32 equals.field = uid } } } 2 = TMENU 2 { wrap = <ul class="sub-links">|</ul> NO { doNotLinkIt = 1 wrapItemAndSub = <li>|</li> stdWrap.cObject = CASE stdWrap.cObject { key.field = doktype default = TEXT default { typolink.parameter.field = uid typolink.allStdWrap.insertData = 1 stdWrap.field = nav_title // title } } } } }
The following HTML is being generated:
<ul class="main-links">
<li><a href="/de/was/">Was</a></li>
<li><a href="/de/wie/">Wie</a></li>
</ul>
The following HTML should be generated:
<ul class="main-links">
<li><a href="/de/was/">Was</a><ul class="sub-links"><li><a href="/de/was/A/">Was A</a></li><li><a href="/de/was/B/">Was B</a></li></ul></li>
<li><a href="/de/wie/">Wie</a></li>
</ul>
Updated by Gerrit Code Review almost 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64436
Updated by Gerrit Code Review almost 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64436
Updated by Gerrit Code Review almost 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64365
Updated by Benni Mack almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2f9d14703586686b73640ab4559bb1e6ad43d100.