Issue Bug Closed

#109934wrong workspace state for tables without hidden field (disabled)

Andreas Häfner 06/01/26, 07:19 updated 08/11/26, 08:50

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

Reviews 2

History 27

  1. Gerrit Code Review pushed patch set 1 for main to change 94233 status New Under Review 06/01/26, 09:00

  2. Gerrit Code Review pushed patch set 2 for main to change 94233 06/01/26, 12:31

  3. Gerrit Code Review pushed patch set 3 for main to change 94233 06/01/26, 12:48

  4. Gerrit Code Review pushed patch set 4 for main to change 94233 06/01/26, 12:51

  5. Gerrit Code Review pushed patch set 1 for 14.3 to change 94237 06/01/26, 12:52

  6. Andreas Häfner commented and changed status Under Review Resolved done 0 % 100 % 06/01/26, 13:30

    Applied in changeset commit:b4fdcb0d4702980f1b555a995857adcdc533e000.

  7. Benni Mack changed status Resolved Closed 08/11/26, 08:50