#109934wrong workspace state for tables without hidden field (disabled)
Description
records of tables without hidden-field get wrong workspace-state hidden/unhidden.
‘\TYPO3\CMS\Workspaces\Service\GridDataService::generateDataArray()’
if ($hiddenField !== null) {
$recordState = $this->workspaceState($versionRecord['t3ver_state'], (bool)$origRecord[$hiddenField], (bool)$versionRecord[$hiddenField], $hasDiff);
} else {
$recordState = $this->workspaceState($versionRecord['t3ver_state'], $hasDiff);
}
‘\TYPO3\CMS\Workspaces\Service\GridDataService::workspaceState()’
protected function workspaceState(int $stateId, bool $hiddenOnline = false, bool $hiddenOffline = false, bool $hasDiff = true): string