Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost modification in OnlyOffice if the file is renamed in seafile UI while the office session is ongoing #2702

Open
Cracky5457 opened this issue Aug 31, 2023 · 2 comments

Comments

@Cracky5457
Copy link

Cracky5457 commented Aug 31, 2023

User's modification in an only office document are lost if someone rename the file on seafile while a collaborative edition session is already open in OnlyOffice.

it happened to some of our users with lost of content and confidence in the tool.

How to reproduce :

  • Create a file test1.docx
  • Open it in office with someone else in the session (or alone should be fine)
  • In seafile, rename it to test2.docx
  • Continue editing the content in the previously opened office session
  • Save and exit the session

Now open test2.docx, all the editing done after the rename of the file is lost.

Possible fix : In `onlyoffice_editor_callback, eventually check that the original file is still present, generate an error if not, or best re-attach the office session to the new file_path

@Cracky5457 Cracky5457 changed the title Lost modification in OnlyOffice if the file is renamed in seafile UI while the session is open Lost modification in OnlyOffice if the file is renamed in seafile UI while the office session is ongoing Aug 31, 2023
@imwhatiam
Copy link
Member

Now open test2.docx, all the editing done after the rename of the file is lost.

Hello, we will look into this issue.

@imwhatiam
Copy link
Member

Hello, when you open an office file in OnlyOffice on the web, the file will be locked and you cannot rename it at the same time. How do you rename it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants