Issue Bug Closed

#71622TCA type=select does not render select field

Kevin Ditscheid 11/17/15, 10:26 updated 02/10/17, 10:46

Description

When I want to render a normal select field via TCA, I just get the message “Unknown type: select”.
With TYPO3 7.5 a TCA configuration like this:
@
’header_icon_position’ => array(
‘exclude’ => 1,
‘label’ => ‘LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position’,
‘config’ => array(
‘type’ => ‘select’,
‘items’ => array(
array(
‘’,
‘‘
),
array(
‘LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position.left’,
‘left’
),
array(
‘LLL:EXT:ep_template_hhdl/Resources/Private/Language/locallang.xlf:tt_content.header_icon_position.right’,
‘right’
)
)
)
),
@
has rendered a normal select field. With TYPO3 7.6 this isn’t the case anymore.
If i define the rederType manually, it will work again, but the documentation doesn’t mention, that the renderType is mandatory, now.
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#rendertype

Besides that, if i do the TCA with foreign_table, the renderType is processed automatically.
This seems a lot like a bug, because the default renderType should be selectSingleBox like it was before TYPO3 7.6.

Running on TYPO3 7.6.0 and TYPO3 7.6.1-dev with PHP 5.5.

Reviews 0

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