Issue Bug Closed

#80722'__UNSET' in columnsOverrides not working and TCA migration check missing

Albrecht Köhnlein 04/06/17, 10:42 updated 09/02/18, 20:01

Description

I have this code in one of my extensions:
$GLOBALS['TCA']['tt_content']['types']['myextension_plugin'] = array(
'showitem' => '...',
'columnsOverrides' => array(
'imageorient' => array(
'config' => array(
'items' => array(
1 => '__UNSET',
2 => '__UNSET',
4 => '__UNSET',
5 => '__UNSET',
6 => '__UNSET',
7 => '__UNSET',
8 => '__UNSET',
9 => '__UNSET',
10 => '__UNSET',
),
),
),
);</code>

When I want to open a content element with this type, I only see this error since the upgrade to TYPO3 8.7:

> #1439288036: An item in field imageorient of table tt_content is not an array as expected

I asked in slack about that and was told, the syntax changed and I should use the TCA migration check in install tool. I fixed all messages related to my extension, but the problem is still the same. And none of the messages, I fixed, was about “imageorient”, “__UNSET” or “columnsOverride”.

So I think, the TCA migration check should be extended, if this is missing.

Reviews 0

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