Bug #90971
closedHMENU regression in 9.5.12
0%
Description
I have the following TS:
lib.footer_menu = HMENU lib.footer_menu { special = directory special.value = 3209 # We define the first level as text menu. 1 = TMENU 1.entryLevel = 0 1.expAll = 1 # We define the normal state ("NO"). 1.NO = 1 1.NO.linkWrap = <h4>|<i class="fa fa-chevron-down"></i></h4> 1.NO.wrapItemAndSub = <div class="col-2 col-sm-12">|</div> # Wrap the whole first level. 1.wrap = | 2 = TMENU 2.entryLevel = 1 2.expAll = 1 2.NO = 2 2.NO.allWrap = <li>|</li> 2.wrap =<ul>|</ul> }
This worked fine until 9.5.11, but starting with 9.5.12, nothing is rendered. I played around a bit and found out that if I replace the ID 3209 which refers to a folder with the ID of a page, I get output again (but ofc not the output I want, since it doesn't start at the correct node)
Updated by Andreas Flack over 4 years ago
P.S.: I posted this on typo3-cms Slack, and there were some replies from Daniel Siepmann & Thomas Löffler corroborating my findings. To quote:
Daniel Siepmann:dancing_penguin: 11:57 AM
I would expect https://github.com/TYPO3/TYPO3.CMS/commit/b45552ad80bd81d93b12e14a20fd6de75dacc31e broke the behavior
Updated by Daniel Siepmann over 4 years ago
Looks like there are two commits involved, where only one made it into 9.5.
- https://github.com/TYPO3/TYPO3.CMS/commit/b45552ad80bd81d93b12e14a20fd6de75dacc31e
- https://github.com/TYPO3/TYPO3.CMS/commit/6d2db4f712f342abba3ce5d0c3934acce05e3d62
The behaviour is also broken in current master for DataProcessor. There you need to change the excludeDoktypes, as this now includes sys_folder, which is also a breaking change.
Updated by Andreas Flack over 4 years ago
I have reverted Commit https://github.com/TYPO3/TYPO3.CMS/commit/b45552ad80bd81d93b12e14a20fd6de75dacc31e in my local installation, and now the menu renders as it should again, so this does indeed seem to be the cause
Updated by Georg Ringer over 4 years ago
- Related to Bug #88344: HMENU directory incompatible with free mode added
Updated by Georg Ringer over 4 years ago
- Is duplicate of Bug #89989: Since v9.5.12 extendToSubpages has no effect for subpages in menus added
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
closing as duplicate of #89989