Steps to reproduce
- Create a new .docx document.
- Open it in Nextcloud Office.
- Edit the document.
- Save (autosave is enough).
- Leave the editor using the browser Back button instead of "Close file".
- Try to delete the document.
Expected behaviour
The editing session should be closed and the WOPI lock released.
The document should be deletable.
Actual behaviour
The document remains locked by Nextcloud Office.
The user receives a permission/lock error when trying to delete it.
If the document is closed using the "Close file" button instead of the browser Back button, the lock is released correctly and the document can be deleted.
Logs
WebDAV:
Sabre\DAV\Exception\Locked
richdocuments:
No error message (empty exception)
Environment
Nextcloud 34.0.2
richdocuments 11.1.0
richdocumentscode 26.4.104
Redis enabled for file locking
Ubuntu Server 20.04
Browser tested:
Microsoft Edge 151 (Chromium)
Steps to reproduce
Expected behaviour
The editing session should be closed and the WOPI lock released.
The document should be deletable.
Actual behaviour
The document remains locked by Nextcloud Office.
The user receives a permission/lock error when trying to delete it.
If the document is closed using the "Close file" button instead of the browser Back button, the lock is released correctly and the document can be deleted.
Logs
WebDAV:
Sabre\DAV\Exception\Locked
richdocuments:
No error message (empty exception)
Environment
Nextcloud 34.0.2
richdocuments 11.1.0
richdocumentscode 26.4.104
Redis enabled for file locking
Ubuntu Server 20.04
Browser tested:
Microsoft Edge 151 (Chromium)