Project

General

Profile

Actions

Bug #27099

closed

HMENU.excludeUidList is not accounted for when determining if a submenu is available

Added by Jeff Segars almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-05-27
Due date:
% Done:

0%

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

Description

HMENU.excludeUidList is used to exclude certain pages from menus and is read by tslib_menu->getBannedUids(). This getBannedUids() method is called when actually generating a menu, but is not accounted for when determining menu item states such as IFSUB, ACTIFSUB, and CURIFSUB. This means that IFSUB will trigger even if a page has no visible submenu because its subpages are part of HMENU.excludeUidList.

The solution is to add a check for getBannedUids() inside tslib_menu->isSubMenu().


Files

27099.diff (979 Bytes) 27099.diff Jeff Segars, 2011-05-27 21:29
Actions

Also available in: Atom PDF