Files
opencloud/tests/acceptance/expected-failures-API-on-OCIS-storage.md

32 KiB

Scenarios from ownCloud10 core API tests that are expected to fail with OCIS storage while running with the Graph API

The expected failures in this file are from features in the owncloud/ocis repo.

File

Basic file management like up and download, move, copy, properties, trash, versions and chunking.

copy personal space file to shared folder root result share in decline state

Custom dav properties with namespaces are rendered incorrectly

ocdav: double-check the webdav property parsing when custom namespaces are used

Cannot set custom webDav properties

file versions do not report the version author

Sync

Synchronization features like etag propagation, setting mtime and locking files

Uploading an old method chunked file with checksum should fail using new DAV path

Share

d:quota-available-bytes in dprop of PROPFIND give wrong response value

deleting a file inside a received shared folder is moved to the trash-bin of the sharer not the receiver

Other

API, search, favorites, config, capabilities, not existing endpoints, CORS and others

sending MKCOL requests to another or non-existing user's webDav endpoints as normal user should return 404

ocdav: api compatibility, return correct status code

trying to lock file of another user gives http 200

send POST requests to another user's webDav endpoints as normal user

ocdav: api compatibility, return correct status code

Another users space literally does not exist because it is not listed as a space for him, 404 seems correct, expects 403

[old/new/spaces] In ocis and oc10, REPORT request response differently

Support for favorites

And other missing implementation of favorites

WWW-Authenticate header for unauthenticated requests is not clear

PATCH request for TUS upload with wrong checksum gives incorrect response

TUS OPTIONS requests do not reply with TUS headers when invalid password

copying the file inside Shares folder returns 412

Won't fix

Not everything needs to be implemented for ocis. While the oc10 testsuite covers these things we are not looking at them right now.

  • The OC-LazyOps header is no longer supported by the client, implementing this is not necessary for a first production release. We plan to have an upload state machine to visualize the state of a file, see https://github.com/owncloud/ocis/issues/214
  • Blacklisted ignored files are no longer required because ocis can handle .htaccess files without security implications introduced by serving user provided files with apache.

Blacklist files extensions

cannot set blacklisted file names

Share path in the response is different between share states

Renaming resource to banned name is allowed in spaces webdav

REPORT method on spaces returns an incorrect d:href response

HTTP status code differ while deleting file of another user's trash bin

sharing the shares folder to users exits with different status code than in oc10 backend

MOVE a file into same folder with same name returns 404 instead of 403

Note: always have an empty line at the end of this file. The bash script that processes this file requires that the last line has a newline on the end.