Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org>
- Loading branch information
Showing
6 changed files
with
129 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.