Issue Bug Closed

#106058Undefined array key "ACTIFSUB." in AbstractMenuContentObject.php line 1182

Lina Wolf 02/03/25, 06:49 updated 12/02/25, 14:26

Description

This happens trying to display a classsic TypoScript only menu using

ACTIFSUB = 1
ACTIFSUB < .IFSUB

Where IFSUB is not defined

While I agree this could be an error it should not be an “undefined array key” error

Reviews 3

History 47

  1. Georg Ringer commented and changed status New Needs Feedback 02/03/25, 20:11

    can you please provide a tree example + TS how this can be reproduced, thanks!

  2. Lina Wolf commented 02/06/25, 18:08

    page.20 = HMENU
    page.20 {
            1 = TMENU
            1 {
                NO = 1
                ACTIFSUB = 1
                ACTIFSUB < .IFSUB
            }
        }

    Then go to a first level page which has subpages

  3. Gerrit Code Review pushed patch set 1 for main to change 88149 status Needs Feedback Under Review 02/10/25, 20:03

  4. Gerrit Code Review pushed patch set 1 for 12.4 to change 88153 02/10/25, 20:38

  5. Gerrit Code Review pushed patch set 1 for 13.4 to change 88154 02/10/25, 20:38

  6. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 02/10/25, 21:00

    Applied in changeset commit:3991378974cb49439be105f2fd87797331e84439.

  7. Benni Mack changed status Resolved Closed 12/02/25, 14:26