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 <span data-processor="relativetime" data-value="2025-02-03T20:11:37+00:00" > 02/03/25, 20:11 </span>

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

  2. Lina Wolf commented <span data-processor="relativetime" data-value="2025-02-06T18:08:05+00:00" > 02/06/25, 18:08 </span>

    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 <span data-processor="relativetime" data-value="2025-02-10T20:03:13+00:00" > 02/10/25, 20:03 </span>

  4. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-02-10T21:00:09+00:00" > 02/10/25, 21:00 </span>

    Applied in changeset commit:3991378974cb49439be105f2fd87797331e84439.