-
Notifications
You must be signed in to change notification settings - Fork 119
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
Cannot save document after sharer has added edits #780
Comments
Error in logs shows an Exception: Call to a member function getId() on boolean [index] Error: Exception: Call to a member function getId() on boolean at <>
POST /index.php/apps/richdocuments/wopi/files/1619259_ockmln9o7u3e/contents?access_token=REMOVED&access_token_ttl=0 This maybe the same issue already tracked, or similar too, in 753. I am reporting as it has just started after the recent update from Collabora which we patched today. |
Same as issue 781 |
Confirmed, a return to 3.5.0 solves the issue. |
Could you give some more details about the files? Are they stored on external storage? Shared with another user? |
Files are stored locally as well as on external storage (NAS - Synology RS816 with proper write permissions, has been running with no issues until this update for 3 years), error occurs in both situations. Browsers tested are Chrome and Firefox. Latest version of CODE - LooLWSD 4.2.0 installed with collabora office 6.2-3. |
To answer the last question, yes, files are shared to users. Error also occurs when shared to groups. |
Any chance you could give the patch at #805 a try and see if that fixes the issue for you? |
I will try today and come back to you with an answer. |
This did not resolve it. In fact,m it created a new problem where, when a file is shared for access and parties edit it, the file once edited and saved, errors and saves it as a new document. See the attached The document then has to be reloaded as a revision which does not have the changes in it. So short, answer, NO. |
Thanks a lot for giving this a test run, this is highly appreciated. That was indeed an issue I didn't catch. Could you give the two additional commits in #805 another try. |
Will execute tests later today. |
Changes tested. This has resolved the saving issues in #780. tests involved individual edits and saves to same file with users editing and exiting the document. Then saves where tested on the fly with users editing at the same time. Both worked without error on this commit. |
New issue has appeared and is reported in #806 |
Fixed with #805 |
This should be fixed with the new 3.5.2 release. |
Steps to reproduce
Expected behaviour
user who is shared a file should be able to edit and save the file while it is shared with edit permissions.
Actual behaviour
user cannot save the file. Document errors with "document cannot be saved. Check your permissions or contact the storage server adminstrator."
This error has only begin since the update to collbora
Package loolwsd-4.2.0-3.el7.x86_64
Package CODE-brand-4.2-12.noarch
Server configuration
Operating system:
Centos 7
Web server:
Apache 2.4.6
Database:
Mariadb
PHP version:
PHP 7.2.26
Nextcloud version: (see Nextcloud admin page)
Nextcloud 17.0.2
Updated from an older Nextcloud/ownCloud or fresh install:
Upgrade and fresh cause same issue
Where did you install Nextcloud from:
Git Hub
Signing status:
Signing status
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM
oc_appconfig
WHEREappid
= 'user_ldap';Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Insert your webserver log here
Insert your Nextcloud log here
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
The text was updated successfully, but these errors were encountered: