Issue Bug Closed

#23967Field size for "shortcut" is 3, although maxitems is 1

Steffen Gebert 11/06/10, 20:18 updated 03/29/11, 17:50

Description

Field “shortcut” (to define target page of a shortcut) has size 3, although maxitems is defined to 1. This leads editors to the assumption that more pages can be added (which results in an exclamation mark).

$TCA['pages']['shortcut'] => array(
    'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page',
    'config' => array(
        'type' => 'group',
        'internal_type' => 'db',
        'allowed' => 'pages',
        'size' => '3',
        'maxitems' => '1',
        'minitems' => '0'

(issue imported from #M16280)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.