Review 13.4 Merged

90168[BUGFIX] Preserve workspace history during publishing

Benni Mack CR +2 V +2 Normal +76 −26 updated 07/26/25, 19:00

Commit message

This change introduces ACTION_PUBLISH history type and
migrates workspace edit history to live records
during publishing to maintain complete
audit trails.

Previously, when publishing workspace records to live, all
intermediate edit history from the workspace was lost when the
workspace record was deleted. This created gaps in the audit trail.

Changes made:
- Add ACTION_PUBLISH constant to RecordHistoryStore
- Add publishRecord() method with complete old/new diff payload
- Add migrateWorkspaceHistory() to transfer workspace history to
  live record
- Update version_swap() to use new publish action instead of stage
  change
- Update RecordHistory to handle ACTION_PUBLISH display as 'publish'

The complete workspace editing history is now preserved on the live
record, providing full traceability of all changes made during
workspace editing.

ACTION_PUBLISH entries now display with a blue "published" badge in
the backend history module, providing clear visual distinction from
other action types.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 6

Review log 34

  1. Benni Mack commented on patch set 1 07/26/25, 18:50

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/26/25, 18:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82360

  3. Benni Mack voted on patch set 1 CR +2 V +2 07/26/25, 19:00

  4. Benni Mack merged patch set 2 07/26/25, 19:00