#68097add the marker ###PARENT_UID### to the $TCA column type:inline, foreign_record_defaults property
Description
Posible Solution:
Change the line 644 in _typo3_src-7.3.1/typo3/sysext/backend/Classes/Form/FormEngine.php_
from:
$record[$fieldName] = $defaultValue;
to:
$record[$fieldName] = str_replace('###PARENT_UID###', $parent['uid'], $defaultValue);
surrounding loop:
foreach ($config['foreign_record_defaults'] as $fieldName => $defaultValue) {
if (isset($foreignTableConfig['columns'][$fieldName]) && !in_array($fieldName, $notSettableFields)) {
//$record[$fieldName] = $defaultValue;
$record[$fieldName] = str_replace('###PARENT_UID###', $parent['uid'], $defaultValue);
}
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.