-
Notifications
You must be signed in to change notification settings - Fork 183
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
WOPI with Collabora does not save a file on tab close #4568
Comments
From what I could observe, Collabora does automatically save the document after some time after editing (30 Seconds or so?). If the tab gets closed before that it won't be saved. |
The |
Ah, I see! Now whose behavior needs to change? Collabora or Wopi? |
Probably WOPI server, I don't see a reason why we shouln't save on a unlocked file. But still it's weird that Collabora seems to perform an unlock before saving the file. |
I have a local debug setup. Happy to share! |
I can confirm that the file gets unlocked before saving the file. Onlyoffice does that differently. |
How could this ever work? |
@pmaier1 Who can help us talk with the collabora people? IMO this is ugly. Nothing meaningful we could do IMO. We could allow to write to an unlocked file, but .... well that opens soo many ugly possibilities. |
I can do that. Maybe it works directly here. Otherwise I'll start an email thread. Who can help us with this? @timar @kendy @merttumer @Ashod |
@pmaier1 Seems that we need the email thread. Can I remove it from the GA Blocker list? |
Ok.
Agreed. |
Fixed with collabora/code:22.05.8.4.1 Tested on ocis.team.owncloud.works |
Thanks for confirming the fix, @micbar. |
Describe the bug
If you open a file in Collabora, do some changes and just close the tab without saving first, your changes will be lost.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Changes are persisted
Actual behavior
Changes are lost
Setup
oCIS with WOPI deployment example
Additional context
Collabora seems to first unlock a file before saving it when the user closes the session. The WOPI server only uploads the file if it is still locked.
-> We need to debug the behavior. Collabora should NOT unlock before saving the file. But the WOPI server also should allow to save to a unlocked file?
WOPI server logs:
The text was updated successfully, but these errors were encountered: