Bug #85778
closedDiscarding file reference change makes appear different/more change entries
100%
Description
I noticed something strange and can't get my head around it.
When replacing an image in page edit under resources->media in a workspace (draft mode)
and then discarding the change I get more entries (seems like a detailed list of changes, deleting, replacing, ...) instead of the page change which is marked as edited.
This can be reproduced by:
- adding a page in live mode
- set an image in page resources
- switching to draft workspace/mode
- deleting added image and adding new image
- go to workspaces menu/view in draft mode
- edit change on page is shown
- delete the change
=> instead of one change entry (edit) you get two (deletion & creation of the file references)
I noticed this issue in our dev environment so I also tested this in a clean Typo3 v8.7.18 installation with only predefined and the workspace extensions to verify this issue.
The added video illustrates the steps to reproduce the issue.
Files