text
text copied to clipboard
Restore of old version produces conflict
Describe the bug Using the restore function from the side panel/versions produces conflict next time the document is opened
To Reproduce Steps to reproduce the behavior:
- Go to 'files-app'
- create test.md
- type some text and close
- open test.md, type some more and close
- in the files-app open side panel
- restore an old version
- open test.md in editor
- now I'm presented with a warning "Document has been changed outside the editor". And I have to choose between "current version" and "stored version"
Expected behavior If I restore an old version, I want this version to become the "current version". There is no need to show the warning "Document has been changed outside the editor"
Note: this may be related to #4078 . But here the document is changed by one user in the same browser session. There are no external up/downloads involved.
Version Nextcloud: 27.1.2