--- "typo3_src-7.6.10\\typo3\\sysext\\backend\\Classes\\Controller\\FormInlineAjaxController.php" 2016-07-19 12:38:36.000000000 +0200 +++ FormInlineAjaxController.php 2016-09-20 17:08:00.000000000 +0200 @@ -27,6 +27,8 @@ use TYPO3\CMS\Core\Utility\ArrayUtility; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\MathUtility; +use TYPO3\CMS\Backend\Utility\BackendUtility; /** * Handle FormEngine inline ajax calls @@ -64,10 +66,7 @@ if (MathUtility::canBeInterpretedAsInteger($parent['uid'])) { $command = 'edit'; $vanillaUid = (int)$parent['uid']; - $databaseRow = [ - // TcaInlineExpandCollapseState needs the record uid - 'uid' => (int)$parent['uid'], - ]; + $databaseRow = BackendUtility::getRecord($parent['table'], $parent['uid']); } else { $command = 'new'; $databaseRow = []; @@ -237,10 +236,7 @@ $parent = $inlineStackProcessor->getStructureLevel(-1); $parentFieldName = $parent['field']; - $databaseRow = [ - // TcaInlineExpandCollapseState needs this - 'uid' => (int)$parent['uid'], - ]; + $databaseRow = BackendUtility::getRecord($parent['table'], $parent['uid']); $databaseRow = $this->addFlexFormDataStructurePointersFromAjaxContext($ajaxArguments, $databaseRow);