Issue Bug Closed

#81811Publishing FAL metadata throws TypeError in TYPO3\CMS\Version\Hook\DataHandlerHook::version_swap

Michael Gaier 07/06/17, 13:02 updated 12/04/18, 11:01

Description

The following Exception is thrown, if you try to publish FAL metadata.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: 
Argument 3 passed to TYPO3\CMS\Version\Hook\DataHandlerHook::version_swap_processFields() must be of the type array, null given,
called in /var/www/typo3_src-master/typo3/sysext/version/Classes/Hook/DataHandlerHook.php on line 885
TypeError thrown in file /var/www/typo3_src-master/typo3/sysext/version/Classes/Hook/DataHandlerHook.php in line 1071. Requested URL:
http://v8.typo3.local/typo3/index.php?ajaxID=%2Fajax%2Fworkspace%2Fdispatch&ajaxToken=7f1a50f75b23d2ba5ddac20d4dcdcaa15ea74df6

The TCA definition for the “width” and “height” colums is missing a ‘config’-section.

‘width’ => [
‘l10n_mode’ => ‘exclude’
],
‘height’ => [
‘l10n_mode’ => ‘exclude’
]

Reviews 0

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