Project

General

Profile

Actions

Bug #90971

closed

HMENU regression in 9.5.12

Added by Andreas Flack over 4 years ago. Updated over 4 years ago.

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

0%

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

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)


Related issues 2 (0 open2 closed)

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

Actions
Is duplicate of TYPO3 Core - Bug #89989: Since v9.5.12 extendToSubpages has no effect for subpages in menusClosed2019-12-18

Actions
Actions #1

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

Actions #2

Updated by Daniel Siepmann over 4 years ago

Looks like there are two commits involved, where only one made it into 9.5.

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.

Actions #3

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

Actions #4

Updated by Georg Ringer over 4 years ago

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

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
Actions #6

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Closed

closing as duplicate of #89989

Actions

Also available in: Atom PDF