[Libreoffice-bugs] [Bug 129842] Error saving file with guest account

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 6 20:19:42 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=129842

--- Comment #1 from Torsten <collabora at werner.by> ---
Steps to reproduce:
1) Install nextcloud and collabora
2) create a folder, share it as link and give write access to the folder
3) create a ods document
4) log off from nextcloud
5) use the share link to access the folder
6) open the document, use a nickname on request
7) do a small change and try to save the document. An error message appears.

The log contains the message:
"Argument 1 passed to
OCA\\Richdocuments\\Service\\UserScopeService::setUserScope() must be of the
type string, null given, called in
\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php
on line 449"

Here the entire log message: 

{"reqId":"TlkfYCpFhtaQjZ1a3Acb","level":3,"time":"January 06, 2020
19:56:48","remoteAddr":"176.9.113.182","user":"--","app":"index","method":"POST","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/63901_ocay74hglo75\/contents?access_token=15OoXuWS5XLF7djPasU1uNmZiW5LXn1q&access_token_ttl=0","message":{"Exception":"Exception","Message":"Argument
1 passed to OCA\\Richdocuments\\Service\\UserScopeService::setUserScope() must
be of the type string, null given, called in
\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php
on line
449","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":126,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\WopiController"},"putFile"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":997,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/richdocuments\/wopi\/files\/63901_ocay74hglo75\/contents"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument
1 passed to OCA\\Richdocuments\\Service\\UserScopeService::setUserScope() must
be of the type string, null given, called in
\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php
on line
449","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php","line":449,"function":"setUserScope","class":"OCA\\Richdocuments\\Service\\UserScopeService","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":170,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->","args":["63901","15OoXuWS5XLF7djPasU1uNmZiW5LXn1q"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\WopiController"},"putFile"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":126,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\WopiController"},"putFile"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\WopiController","putFile",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"fileId":"63901_ocay74hglo75","_route":"richdocuments.wopi.putFile"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":997,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/richdocuments\/wopi\/files\/63901_ocay74hglo75\/contents"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Service\/UserScopeService.php","Line":44},"CustomMessage":"--"},"userAgent":"LOOLWSD
WOPI Agent 4.2.0","version":"17.0.2.1"}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200106/f6401f94/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list