Issue Bug Closed

#97608Undefined array key "pid" in AbstractMenuContentObject.php

Georg Ringer 05/11/22, 12:01 updated 10/04/22, 14:19

Description

By using the following TypoScript

page.3010 = HMENU
page.3010 {
    special = browse
    special {
        items = prev|next
    }

    1 = TMENU
    1.NO {
        stdWrap {
            typolink {
                parameter.data = field:uid
                useCacheHash = 1
                returnLast = url
            }
        }
    }
}

and a disabled parent page, e.g.

Page 1
Page 2 [disabled]
 Page 2a <= You are here

a notice warning is thrown

Reviews 2

History 24

  1. Gerrit Code Review pushed patch set 1 for main to change 74603 status Accepted Under Review 05/11/22, 12:03

  2. Gerrit Code Review pushed patch set 1 for 11.5 to change 75058 07/07/22, 15:27

  3. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 07/07/22, 15:30

    Applied in changeset commit:0120781b85e8a56335c28da9e843743d243cb683.

  4. Benni Mack changed status Resolved Closed 10/04/22, 14:19