If i want to edit a file from an external storage with Collabora in the mobile app, the loading circle just keeps spinning and the file is not loaded in Collabora.
It should open in Collabora as the files from internal storage do.
Android version:
8.1.0
Device model:
Nokia 5
Stock or customized system:
Stock
Nextcloud app version:
3.4.1
Nextcloud server version:
14.04
10.8.1.11 - - [24/Dec/2018:14:01:25 +0200] "GET /nextcloud/apps/richdocuments/direct/W7BCBPA4hOs8OZmAMhRySBZOqzsxKGTMKX7apkSQ91hD5DcQTTW5pmoAiY8f2r2b HTTP/2.0" 500 6817 "-" "Mozilla/5.0 (Android) ownCloud-android/3.4.1"
{"reqId":"dF2vmFXcyc50H4K00NsT","level":3,"time":"2018-12-24T13:02:51+00:00","remoteAddr":"10.8.1.11","user":"--","app":"index","method":"GET","url":"\/nextcloud\/apps\/richdocuments\/direct\/zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi","message":{"Exception":"Error","Message":"Call to a member function getUID() on null","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/DirectViewController.php","line":117,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"show","class":"OCA\\Richdocuments\\Controller\\DirectViewController","type":"->","args":["zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi"]},{"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\\DirectViewController"},"show"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DirectViewController"},"show"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DirectViewController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"token":"zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi","_route":"richdocuments.directView.show"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"token":"zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi","_route":"richdocuments.directView.show"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"token":"zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi","_route":"richdocuments.directView.show"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/richdocuments\/direct\/zNuR6gBXx8Tmu152nahvUvoSn5ggBCXn3ThNoCb1QnSNsWvaInt0tQ6i2n6i2fXi"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/TokenManager.php","Line":134,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.4.1","version":"14.0.4.2"}
GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/3109 (Ability to mount the files as external storage), https://github.com/nextcloud/android/issues/3389 (File detail exact time edited), https://github.com/nextcloud/android/issues/2198 (Duplicated images on external storage), https://github.com/nextcloud/android/issues/2366 (Android Client problem with external storage), and https://github.com/nextcloud/android/issues/2199 (Visualise external storages).
Update:
The behavior is the same with NC 15 server.
Also:
@rullzer as you added the crucial part to RichDocuments, do you have an idea?
I just did an upgrade to the richdocuments app on the server to version 3.1.1 and mobile editing works on external storages.
Most helpful comment
I just did an upgrade to the richdocuments app on the server to version 3.1.1 and mobile editing works on external storages.