Skip to content
Snippets Groups Projects
Commit 62756eed authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[BUGFIX] Discard published drafts of workspaces when not swapping

When a workspace record is published, the "old", then unused record
has the values:
- workspace-id: 0
- online-id: > 0
- pid: -1

This way, it is not possible to actually find out from which workspace
something was published. This only happens when
not swapping (exchanging data) but doing real "publishing"
from a workspace.

What happens is that the database is filled with obsolete "previously
online" records that have no value anymore.

These records are now deleted, thus, the database is kept
clean. Previously only a CLI command allowed to remove
them, however, they are not needed at all, so the CLI command
is for existing projects that use workspaces in non-swapping mode.

Resolves: #88497
Releases: master
Change-Id: I9393c801de5b62484efc7ef82e389dfff6715a78
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60882


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent a4b580b1
Branches
Tags
Showing
with 2 additions and 195 deletions
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