#94543Make optional the use of FILE: in the ds-attribute of flex-field in the TCA, if EXT: is used
Description
The Use of ‘EXT:<filepath>‘ is common for declaring al filepath on various place in TYPO3 and in the TCA. (IconAPI, …) Only in the definition of DS, it is uncommen.<br>Only for the filedefinition of Flexforms you have to use ‘FILE:EXT:’. <br>If you use EXT: it is clear, that the string will points to an file. The information FILE: is not needed.</filepath>
See Patch
Additionl:
It took me more than an hour, to understand my mistake. The exceptionmessage was meaningless. Please change it.
I mean the exceptionmessage in typo3\sysext\backend\Classes\Form\FormDataProvider\TcaFlexProcess.php in line 48.
Instead of
throw new \RuntimeException(
'Data structure identifier must be set, typically by executing TcaFlexPrepare data provider before',
1480765571
);
use
throw new \RuntimeException(
'Data structure identifier must be set, typically by executing TcaFlexPrepare data provider before. Check, if the filepath in the DS-field begins with FIILE: or EXT:',
1480765571
);Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.