#99177Check `columnsOverrides` for `types` when copy or translate
Description
Currently when you want to use one field in tt_content for inline input, and you are changing the source table by `columnsOverrides` given by `types` it’s not applied when you are copying or translating and always the default table is used.
My suggestion would be in those actions to do:
get field name of from type -> $typeField = [‘ctrl’][‘type’];
get value of give field -> $typeValue = $someRow[$typeField];
check if exists column overrides $GLOBALS[‘TCA’][‘some_table’][‘types’][$typeValue]
replace if exists for all the actions $GLOBALS[‘TCA’][‘some_table’][‘columns’][‘field’][‘config’][‘foreign_*’] to $GLOBALS[‘TCA’][‘some_table’][‘types’][$typeValue][‘columnsOverrides’][‘field’][‘config’][‘foreign_*’]
Thank you Team! :)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.