Issue Bug Closed

#105860Data processor menu browser items are not marked by their type.

Lina Wolf 12/22/24, 11:10 updated 12/02/25, 14:27

Description

Using a menu data processor with “special=browser” the resulting items are not marked by which type they have:

Configuration:

page {
    10 {
        dataProcessing {
            50 = menu
            50 {
                special = browse
                as = browseNavigation
                special {
                    items = index|up|next|prev
                    items.prevnextToSection = 1
                    index.target = _blank
                    index.fields.title = INDEX
                }
            }
        }
    }
}

Output:

array(3 items)
0 => array(8 items)
data => array(77 items)
title => 'Start page' (10 chars)
link => '/' (1 chars)
target => '' (0 chars)
active => 1 (integer)
current => 0 (integer)
spacer => 0 (integer)
hasSubpages => 1 (integer)
1 => array(8 items)
data => array(77 items)
title => 'Page 3' (6 chars)
link => '/page-3' (7 chars)
target => '' (0 chars)
active => 0 (integer)
current => 0 (integer)
spacer => 0 (integer)
hasSubpages => 0 (integer)
2 => array(8 items)
data => array(77 items)
title => 'Page 1' (6 chars)
link => '/page-1' (7 chars)
target => '' (0 chars)
active => 0 (integer)
current => 0 (integer)
spacer => 0 (integer)
hasSubpages => 1 (integer)

There is no way to determine which item is of which kind. I would have expected to have this reflected ideally in the array keys or, if that is not possible, as a property of the resulting item.

Reviews 3

History 36

  1. Chris Müller changed description 12/23/24, 15:23

  2. Gerrit Code Review pushed patch set 1 for main to change 88331 status New Under Review 02/24/25, 20:37

  3. Gerrit Code Review pushed patch set 1 for 13.4 to change 88393 02/28/25, 08:11

  4. Gerrit Code Review pushed patch set 1 for 12.4 to change 88394 02/28/25, 08:11

  5. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 02/28/25, 08:15

    Applied in changeset commit:643c3e3572ae8cd11edbe75b738d038a6c66d297.

  6. Benni Mack changed status Resolved Closed 12/02/25, 14:27