text icon indicating copy to clipboard operation
text copied to clipboard

Restore of old version produces conflict

Open schaarsc opened this issue 2 years ago • 0 comments

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:

  1. Go to 'files-app'
  2. create test.md
  3. type some text and close
  4. open test.md, type some more and close
  5. in the files-app open side panel
  6. restore an old version
  7. open test.md in editor
  8. 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

schaarsc avatar Oct 18 '23 15:10 schaarsc