Skip to content

Commit 94e651a

Browse files
georgringerbmack
authored andcommitted
[BUGFIX] Always use full row to retrieve header of record in DataHandler
With #101793 the DataHandler has been simplified which lead to the regression that the log entry doesn't contain the record's title anymore if that is not part of the changed data. `BackendUtility::getRecordTitle` requires a potential full row to retrieve the title. Resolves: #105478 Related: #101793 Releases: main, 13.4 Change-Id: Ieda90d0974d8e7d01dba0470def17a69de185340 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87496 Reviewed-by: Oliver Bartsch <bo@cedev.de> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: core-ci <typo3@b13.com>
1 parent 73b6fdd commit 94e651a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typo3/sysext/core/Classes/DataHandling/DataHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7598,8 +7598,9 @@ public function getRecordPropertiesFromRow($table, $row)
75987598
{
75997599
if ($this->tcaSchemaFactory->has($table)) {
76007600
$liveUid = ($row['t3ver_oid'] ?? null) ?: ($row['uid'] ?? null);
7601+
$fullRow = $this->recordInfo($table, $liveUid);
76017602
return [
7602-
'header' => BackendUtility::getRecordTitle($table, $row),
7603+
'header' => BackendUtility::getRecordTitle($table, $fullRow ?: $row),
76037604
'pid' => $row['pid'] ?? null,
76047605
'event_pid' => $this->eventPid($table, (int)$liveUid, $row['pid'] ?? null),
76057606
't3ver_state' => $this->tcaSchemaFactory->get($table)->isWorkspaceAware() ? ($row['t3ver_state'] ?? '') : '',

0 commit comments

Comments
 (0)