Review 13.4 Merged

93306[BUGFIX] Set tstamp in DatabaseWriter for sys_log

Georg Ringer CR +2 V +2 Easy +22 −0 updated 03/22/26, 16:54

Commit message

Without setting tstamp, the field defaults to 0 (1970-01-01).
TableGarbageCollectionTask uses tstamp to determine record age
and immediately deletes all DatabaseWriter entries on every run.

Set tstamp to (int)$record->getCreated() when writing to sys_log,
consistent with BackendUserAuthentication::writelog(). The field
is sys_log-specific so the assignment is guarded by a table check.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Georg Ringer commented on patch set 1 03/22/26, 16:39

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 03/22/26, 16:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98393

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 03/22/26, 16:54

  4. Garvin Hicking merged patch set 2 03/22/26, 16:54