Bug #98116
open
- Related to Bug #81649: Undo delete of CE throws exception added
- Status changed from New to Under Review
Maybe I'm too stupid, but can not reproduce this with current main. Can you please provide a step by step introduction to reproduce this (for me) ?
You need to have "changed records" and ("newly inserted" or "deleted records") in the "rollback-batch".
Result: only insert/deletes are rolled back. The "changed" records are not rolled back.
But I can provide a (rather stupid) step by step guide:
- create page
- create "text" content element (UID: 1)
- give it a header "foo" and a subheader "bar"
- create "image" content element (UID: 2)
- assign it some image file
- create "textimage" content element (UID: 3)
- give it a header "baz" and a subheader "qux" and some image
- delete CE 1 and 2
- change "header" of UID:3 to "hello world"
Now visit page history. Show all sub-children-records.
Now revert the deletion of UID:1 & UID:2 and the header-modification on UID:3.
Do this with "rollback all changes shown"-button. Do not use the "rollback single record"-button!
see image attachment https://forge.typo3.org/attachments/37027
Expected result: UID:3 "header" is "baz" again.
Actual result: UID:3 "header" remains "hello world"
see image attachment https://forge.typo3.org/attachments/37028
Feel free to update the patch commit message. I had no muse.
Also available in: Atom
PDF