Actions
Bug #80722
closed'__UNSET' in columnsOverrides not working and TCA migration check missing
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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', ), ), ), );
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.
Actions