Skip to content
Snippets Groups Projects
Commit fde62fd2 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Use sys_history for workspaces stage changes + comments

Historically, a stage change
(publishing or "editing => ready to publish") has been
tracked - along with the comment in sys_log with the
action=6 (update) and details_nr=30, where then the logs
are read again for the workspaces module.

Reading from sys_log is a problem as this data is
very volatile (there is even a scheduler task to delete
old sys_log entries older than e.g. 90 days, so we loose
comments).

This change now stores the information inside the
sys_history table about a stage change, so the history
of such an action is preserved, along with the comment.

The workspaces module now reads from sys_history (via
RecordHistory class) and from sys_log if there are
still old comments.

The reading from sys_log can then be removed at a later
change.

Resolves: #97158
Releases: main, 11.5
Change-Id: I055b944462f57a889681a6a236c329af29bb8d80
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73878


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent b1cb4f27
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment