-
Notifications
You must be signed in to change notification settings - Fork 1
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
panic in GetOCMShareByToken #208
Comments
The existing implementation assumes that there is a user in scope. But for the WebDAV interface there is none. |
I'm setting the username to 'nobody' and will try to deal with it on the NC/OC-10 side. |
Now seeing
on the NC side |
It should be |
On the NC side we have a call to GetSentShare but it should be https://github.com/nextcloud/server/blob/master/lib/public/Share/IShareProvider.php#L186 |
I think I saw this when I was working on datax. When we create a share through createReceivedShare, the share type is not set priperly. It should be 6 for remote but it is not set and ends up being 0. So when the shares are queried and there is a condition for share type being 6 which then we end up with an empty list. |
To verify, simply check what is stored in the |
Fixed in the nextcloud-dev branch and the owncloud-dev branch. Now still seeing:
and:
|
Current problem:
is translated to
via
|
Should have used https://mholt.github.io/json-to-go/ a long time ago! |
This code wasn't used in the past, but it's needed to serve WebDAV through the sender's Reva.
The text was updated successfully, but these errors were encountered: