Bug #71436 » FormInlineAjaxController.php.patch
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php | ||
---|---|---|
$childVanillaUid = (int)$inlineFirstPid;
|
||
}
|
||
if (isset($ajaxArguments['context'])) {
|
||
$context = json_decode($ajaxArguments['context'], true);
|
||
if (GeneralUtility::hmac(serialize($context['config'])) === $context['hmac']) {
|
||
$parentConfig = $context['config'];
|
||
}
|
||
}
|
||
|
||
if ($parentConfig['type'] === 'flex') {
|
||
$parentConfig = $this->getParentConfigFromFlexForm($parentConfig, $domObjectId);
|
||
}
|
||
... | ... | |
$parentData = $formDataCompiler->compile($formDataCompilerInputForParent);
|
||
$parentConfig = $parentData['processedTca']['columns'][$parentFieldName]['config'];
|
||
if (isset($ajaxArguments['context'])) {
|
||
$context = json_decode($ajaxArguments['context'], true);
|
||
if (GeneralUtility::hmac(serialize($context['config'])) === $context['hmac']) {
|
||
$parentConfig = $context['config'];
|
||
}
|
||
}
|
||
|
||
if ($parentConfig['type'] === 'flex') {
|
||
$parentConfig = $this->getParentConfigFromFlexForm($parentConfig, $domObjectId, false);
|
||
$parentData['processedTca']['columns'][$parentFieldName]['config'] = $parentConfig;
|