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

File lock with Office Online not working #399

Closed
robake1 opened this issue Feb 1, 2023 · 2 comments
Closed

File lock with Office Online not working #399

robake1 opened this issue Feb 1, 2023 · 2 comments

Comments

@robake1
Copy link

robake1 commented Feb 1, 2023

Describe the bug
When user1 locks a file either with the option in the webgui called Lock file or when its automatically locked when using the function edit locally, user2 can still open the locked document through the webgui and Office online app without any warning that it is locked. If we try the same with a test setup of Nextcloud Office (Collabora) instead it works and Nextcloud Office says the file is locked and only available for read only.

We think this is related to the Office Online app in combination with the temporary files lock app, so we need advise how to solve this ?

To Reproduce
Steps to reproduce the behavior:

  1. Login as user1 and lock a office file (.docx etc.)
  2. Open the office document as user1 (.docx etc.)
  3. Login as user2 and open the office file from step 1 & 2
  4. User 2 can edit the file and dont get any message that the office file is locked.

Expected behavior
We expect Office Online app to show a message saying the file is locked and will open only in read-only, this happens if we try with Nextcloud Office (Collabora) instead in the same scenario.

Client details:

  • OS: Windows 11
  • Browser Microsoft Edge & Chrome
  • Version 109.0.1518.70 (Edge) & 109.0.5414.120 (Chrome)
  • Device: Desktop using Nextcloud desktop client 3.6.6 or 3.7.0-rc1

Server details

Operating system:
OpenSuse Linux
Web server:
Apache 2
Database:
MariaDB
PHP version:
8.4
Nextcloud version:
25.0.3 Enterprise
Version of the officeonline app
1.1.4
Version of Office Online server
16.0.10338.20039
Version of Temporary files lock app
24.0.1

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@small1
Copy link

small1 commented Feb 22, 2023

Noted this when testing on a clients machine just now.

@enoch85
Copy link
Member

enoch85 commented Mar 16, 2023

This is now fixed. Please try the latest version. Please re-open if still not working.

@enoch85 enoch85 closed this as completed Mar 16, 2023
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

3 participants