Skip to content
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

Elements cannot be favourited #1263

Closed
individual-it opened this issue Jun 17, 2020 · 3 comments
Closed

Elements cannot be favourited #1263

individual-it opened this issue Jun 17, 2020 · 3 comments
Labels

Comments

@individual-it
Copy link
Member

  1. setup OCIS with EOS as described in https://github.com/owncloud-docker/compose-playground/tree/master/examples/eos-compose-acceptance-tests
  2. load test users ldapadd -x -D "cn=admin,dc=owncloud,dc=com" -w admin -H ldap://localhost -f ./config/example-ldap-users-groups.ldif
  3. create a folder: curl -k -u user0:123456 -X MKCOL https://localhost:9200/remote.php/dav/files/user0/123
  4. try to favourite the folder: curl -v -k -u user0:123456 -X PROPPATCH https://localhost:9200/remote.php/dav/files/user0/123 -d '<?xml version="1.0"?><d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"> <d:set><d:prop><oc:favorite xmlns:oc="http://owncloud.org/ns">1</oc:favorite></d:prop></d:set></d:propertyupdate>'

Result:
an HTTP Error 500 is returned

OCIS logs:

ocis          | 2020-06-17T04:13:21Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/SetArbitraryMetadata pkg=rgrpc service=reva traceid=3f64f1de2099b27aed7665b8e0e5d6df
ocis          | 2020-06-17T04:13:21Z INF unary code=OK end="17/Jun/2020:04:13:21 +0000" from=tcp://127.0.0.1:46518 pkg=rgrpc service=reva start="17/Jun/2020:04:13:21 +0000" time_ns=74943 traceid=3f64f1de2099b27aed7665b8e0e5d6df uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
ocis          | 2020-06-17T04:13:21Z ERR root/go/pkg/mod/github.com/cs3org/reva@v0.1.1-0.20200529120551-4f2d9c85d3c9/internal/grpc/services/storageprovider/storageprovider.go:183 > error setting arbitrary metadata: path:"/eos/user0/123"  error="error: not supported: eos: operation not supported" pkg=rgrpc service=reva traceid=3f64f1de2099b27aed7665b8e0e5d6df
ocis          | 2020-06-17T04:13:21Z INF unary code=OK end="17/Jun/2020:04:13:21 +0000" from=tcp://127.0.0.1:52662 pkg=rgrpc service=reva start="17/Jun/2020:04:13:21 +0000" time_ns=224751 traceid=3f64f1de2099b27aed7665b8e0e5d6df uri=/cs3.storage.provider.v1beta1.ProviderAPI/SetArbitraryMetadata user-agent=grpc-go/1.26.0
@haribhandari07
Copy link
Contributor

haribhandari07 commented Jun 17, 2020

Same behavior is noticed when setting a custom dav property.

curl -v -k -u user0:123456 -X PROPPATCH https://localhost:9200/remote.php/dav/files/user0/123 -d '<?xml version="1.0"?><d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"><d:set><d:prop><x1:very-custom-prop 
xmlns:x1="http://whatever.org/ns">veryCustomPropValue</x1:very-custom-prop></d:prop></d:prop></d:set></d:propertyupdate>'

@individual-it
Copy link
Member Author

current log output:

ocis          | 2020-10-16T05:55:47Z ERR root/go/pkg/mod/github.com/cs3org/reva@v1.2.2-0.20200924071957-e6676516e61e/internal/grpc/services/storageprovider/storageprovider.go:203 > error setting arbitrary metadata: path:"/home/123"  error="error: not supported: eos: operation not supported" pkg=rgrpc service=storage traceid=773b8418279f50851d67aa4ab8ebc87c

@butonic butonic transferred this issue from owncloud/ocis-reva Jan 18, 2021
@refs refs changed the title [EOS] elements cannot be favourited Elements cannot be favourited Jan 18, 2021
@settings settings bot removed the Storage:EOS label Jan 29, 2021
@settings settings bot removed the p3-medium label Apr 7, 2021
@individual-it
Copy link
Member Author

closing in favour of #1228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants