#85695TCA columnsOverrides (tt_content:media) for types not properly respected on saving record in BE
Description
Overriding the allowed filetypes for tt_contents “media” field using columnsOverrides will properly render in backend on editing/creating the record but will not save the sys_file_reference.
$GLOBALS['TCA']['tt_content']['types']['my_type']['columnsOverrides']['media']['config']['filter'][0]['parameters']['allowedFileExtensions']='html';
$GLOBALS['TCA']['tt_content']['types']['my_type']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['uid_local']['config']['appearance']['elementBrowserAllowed']='html';
So on editing the record it properly shows the overriden filtype in both the inline field and the element browser popup. On saving the record though the field is not properly saved (value “0”) in db.
First examination shows that DataHandler::checkValue() seem to not properly respect columnsOverrides, so it check based on original allowedFileExtensions config which does not include ‘html’.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.