#98681Undefined array key 1 in TextMenuContentObject
Description
Using this code:
lib.content-singlepage = COA
lib.content-singlepage {
10 = HMENU
10 {
includeNotInMenu = 1
special = directory
1 = TMENU
1 {
expAll = 1
noBlur = 1
NO = 1
NO {
doNotLinkIt = 1
doNotShowLink = 1
stdWrap2 {
cObject = COA # this makes some trouble tho
cObject {
20 =< page.10
}
}
wrapItemAndSub = |
}
}
}
}
throws the following error:
PHP Warning: Undefined array key 1 in /var/www/html/public/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php line 144
Bug reported by Tyrone Rogers on Slack: https://typo3.slack.com/archives/C025BQLFA/p1666274266356589
Reviews 2
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 77564 status
NewUnder Review 01/24/23, 13:44 -
Gerrit Code Review pushed patch set 1 for 11.5 to change 77567 01/24/23, 14:27
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % 01/24/23, 14:30 -
Benni Mack changed status
ResolvedClosed 02/08/23, 16:07
Applied in changeset commit:d1fa4dd09e47d52dd59770c4dfa813bf3ad7b03e.