...
 
Commits (2)
......@@ -191,7 +191,8 @@ class InlineRecordContainer extends AbstractContainer
$originalUniqueValue = '';
if (isset($data['inlineData']['unique'][$domObjectId . '-' . $foreignTable]['used'][$record['uid']])) {
$uniqueValueValues = $data['inlineData']['unique'][$domObjectId . '-' . $foreignTable]['used'][$record['uid']];
$originalUniqueValue = $uniqueValueValues['table'] . '_' . $uniqueValueValues['uid'];
// in case of site_language we don't have the full form engine options, so fallbacks need to be taken into account
$originalUniqueValue = ($uniqueValueValues['table'] ?? $foreignTable) . '_' . ($uniqueValueValues['uid'] ?? $uniqueValueValues);
}
$containerAttributes = [
'id' => $objectId . '_div',
......
......@@ -176,7 +176,8 @@ class GridDataService implements LoggerAwareInterface
$versionArray['label_prevStage'] = htmlspecialchars($stagesObj->getStageTitle($tempStage['uid']));
$versionArray['value_prevStage'] = (int)$tempStage['uid'];
$versionArray['path_Live'] = htmlspecialchars(BackendUtility::getRecordPath($record['livepid'], '', 999));
$versionArray['path_Workspace'] = htmlspecialchars(BackendUtility::getRecordPath($record['wspid'], '', 999));
// no htmlspecialchars necessary as this is only used in JS via text function
$versionArray['path_Workspace'] = BackendUtility::getRecordPath($record['wspid'], '', 999);
$versionArray['workspace_Title'] = htmlspecialchars(WorkspaceService::getWorkspaceTitle($versionRecord['t3ver_wsid']));
$versionArray['workspace_Tstamp'] = $versionRecord['tstamp'];
$versionArray['workspace_Formated_Tstamp'] = BackendUtility::datetime($versionRecord['tstamp']);
......