#110948Record history: rolling back a workspace publish in live does nothing, although the pre-publish record is stored
Description
After a workspace is published, the live record history lists the published records with the action “published”, including a diff of the changed fields. Rolling these entries back (“Rollback all changes shown”, per record or per field) does not restore anything. Editors cannot undo an accidental or wrong publish, although the data needed for it is in sys_history.
Steps to reproduce
1. Create a page “Live title” in live.
2. Create a workspace, switch to it and change the page title to “WS title”. Save.
3. Publish the change
4. Switch to live. Page -> History: an entry “published” shows the diff “Live title” → “WS title”.
5. Click “Rollback all changes to this state” on that entry, then “Rollback all changes shown” and confirm.
Expected result
The page title is “Live title” again, as it is for any other modification. A content element deleted in the workspace is restored.
Actual result
The title stays “WS title”. No error is shown, and no new history entry is written.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Record history: rolling back a workspace publish in live does nothing, although the pre-publish record is stored Resolves: #110948 Releases: main