Bug #40855

stdWrap of special.value in HMENU is applied twice

Added by Christian Zenker almost 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2012-09-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

also appears in 4.5 and very likely 4.6

If the stdWrap functionality of HMENU.special.value is used, this is applied twice.
I'm not very familiar on how HMENU works internally. If someone could tell me the best place to fix this without side-effects, I would be happy to submit a patch.

Here are my findings:

The first time stdWrap is applied is tslib_content_HierarchicalMenu::render() (line 59 in TYPO3 4.5.19).
Then it is added multiple times accross tslib_menu again.

I would go with removing the stdWrapping in tslib_menu, but am I right with this or is there any other entry point to this class other than tslib_content_HierarchicalMenu::render() that I should check?

Also available in: Atom PDF