#56427FAL driver configuration: No configured flexform results in error
Description
The FAL driver configuration allows an optional flexform to be specified.
/typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php
public function registerDriverClass($className, $shortName = NULL, $label = NULL, $flexFormDataStructurePathAndFilename = NULL) {
...
}
The configuration screen displays the error Data Structure ERROR: Line 1: Invalid document end if no flexform is given, if the driver need none.
ext_localconf.php
/* @var \TYPO3\CMS\Core\Resource\Driver\DriverRegistry $registry */
$registry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
'TYPO3\CMS\Core\Resource\Driver\DriverRegistry'
);
$registry->registerDriverClass(
'DriverClass',
'Shortname',
'Label'
);