Repository navigation
Closed
owncloud/core
#38299Labels
Description
- as
einsteincreate folderf1 - as
einsteincreate folderf2 - as
einsteinshare folderf1withrichard - as
einsteinrename folderf2tof2-renamed - as
einsteinshare folderf2-renamedwithrichard
Folder cannot be shared, but sharing itself still works, because its possible to create a folder called f3 and share that.
Failed sharing response:
<?xml version="1.0" encoding="UTF-8"?>
<ocs><meta><status>error</status><statuscode>996</statuscode><message>grpc create share request failed</message></meta></ocs>
OCIS log output
2020-10-20T11:17:21+05:45 INF unary code=OK end="20/Oct/2020:11:17:21 +0545" from=tcp://127.0.0.1:46106 pkg=rgrpc service=storage start="20/Oct/2020:11:17:21 +0545" time_ns=88133 traceid=aef75bf10b157ccf7cf6f81c60a1866c uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
2020-10-20T11:17:21+05:45 ERR home/artur/go/pkg/mod/github.com/cs3org/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:740 > error setting ACL error="ocfs: error resolving reference: error: not found: f25f51e5-2c71-4747-90ee-7d3c67c4c11b" pkg=rgrpc service=storage traceid=aef75bf10b157ccf7cf6f81c60a1866c
2020-10-20T11:17:21+05:45 INF unary code=OK end="20/Oct/2020:11:17:21 +0545" from=tcp://127.0.0.1:33010 pkg=rgrpc service=storage start="20/Oct/2020:11:17:21 +0545" time_ns=373589 traceid=aef75bf10b157ccf7cf6f81c60a1866c uri=/cs3.storage.provider.v1beta1.ProviderAPI/AddGrant user-agent=grpc-go/1.26.0
2020-10-20T11:17:21+05:45 ERR home/artur/go/pkg/mod/github.com/cs3org/[email protected]/internal/grpc/services/gateway/usershareprovider.go:460 > error committing share to storage grant error="gateway: grpc failed with code CODE_INTERNAL" pkg=rgrpc service=storage traceid=aef75bf10b157ccf7cf6f81c60a1866c
2020-10-20T11:17:21+05:45 INF unary code=OK end="20/Oct/2020:11:17:21 +0545" from=tcp://127.0.0.1:46148 pkg=rgrpc service=storage start="20/Oct/2020:11:17:21 +0545" time_ns=1765773 traceid=aef75bf10b157ccf7cf6f81c60a1866c uri=/cs3.gateway.v1beta1.GatewayAPI/CreateShare user-agent=grpc-go/1.26.0
2020-10-20T11:17:21+05:45 INF http end="20/Oct/2020:11:17:21 +0545" host=127.0.0.1 method=POST pkg=rhttp proto=HTTP/1.1 service=storage size=164 start="20/Oct/2020:11:17:21 +0545" status=200 time_ns=104697473 traceid=aef75bf10b157ccf7cf6f81c60a1866c uri=/ocs/v1.php/apps/files_sharing/api/v1/shares url=/ocs/v1.php/apps/files_sharing/api/v1/shares
Activity
individual-it commentedon Oct 20, 2020
the issue even happens if the share of
f1is removed againrefs commentedon Jan 12, 2021
not hapening any longer with the latest master. I'm assuming this was tested against the default storage at the time of the writing, which was probably the oc storage. Could we close it @individual-it ?
[-]when a share exists its impossible to share a renamed folder[/-][+]When a share exists its impossible to share a renamed folder[/+]individual-it commentedon Jan 14, 2021
I will reopen this to add tests (or to check if those tests already exist). Tests will run against owncloud and ocis storage proving if there is an issue in ether of them