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

357 KiB

Scenarios from ownCloud10 core API tests that are expected to fail with OCIS storage

File

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

Implement Trashbin Feature for ocis storage

Deletion time in trash bin shows a wrong date

empty trashbin does not work

href in trashbin PROPFIND response is wrong

href in trashbin PROPFIND response is wrong

QA trashcan cannot delete a deep tree

trashbin filename invalid for nested files/folders

invalid webdav responses for unauthorized requests.

PROPFIND on trashbin with Depth: infinity only shows the first level

href in trashbin PROPFIND response is wrong

href in trashbin PROPFIND response is wrong

trash-bin restore move does not send back Etag and other headers

cannot restore to a different file-name

href in trashbin PROPFIND response is wrong

trash-bin restore move does not send back Etag and other headers

href in trashbin PROPFIND response is wrong

cannot restore to a different file-name

requests to webdav URLs with an fileid containing an invalid storage_id result in error 500

requesting propfind with invalid fileid gives 502 error

Implement Versions Feature for ocis storage

uploading with old-chunking does not work

remote.php/dav/uploads endpoint does not exist

PUT request with missing parent must return status code 409

uploading with old-chunking does not work

invalid file-names should not be created using the TUS protocol

upload a file using TUS resource URL as an other user should not work

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

blacklisted filenames like .htaccess & file.parts can be uploaded

cannot rename files asynchronously

cannot set blacklisted file names

cannot set excluded directories

renaming to banned name works

cannot set blacklisted file names

cannot set excluded directories

cannot set blacklisted file names

cannot set excluded directories

Range Header is not obeyed when downloading a file

Getting information about a folder overwritten by a file gives 500 error instead of 404

creating a folder that already exists returns an empty body

Scenario Outline: try to create a folder that already exists

XML properties in webdav response not properly encoded

Scenario Outline: Do a PROPFIND of various file names

Scenario Outline: Do a PROPFIND of various folder names

Different webdav properties from core

Scenario Outline: Propfind the last modified date of a folder using webdav api Property "d:getlastmodified" found with value "Wed, 20 Jan 2021 14:39:31 +0000", expected "/^[MTWFS][uedhfriatno]{2},\s(\d){2}\s[JFMAJSOND][anebrpyulgctov]{2}\s\d{4}\s\d{2}:\d{2}:\d{2} GMT$/"

Some failing tests with Webdav custom properties

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

Cannot set custom webDav properties

Sync

Synchronization features like etag propagation, setting mtime and locking files

deleting an item updates etags of grandparent but not on parent

etag propagation

Checksum feature

ocdav: return checksum in upload response for chunked upload

Preserve mtime after TUS upload

Scenario Outline: upload file with mtime expected -'1565237893', actual +'1611153591'

ocis-storage does not use the mtime send in the Upload-Metadata header when uploading via TUS

Webdav LOCK operations

Share

File and sync features in a shared scenario

etags don't change for a share receiver

etags don't change for a share receiver

sharing with group not available

Checksum feature

Searching sharee with displayname

sharing with group not available

User cannot create a folder named Share

Response is empty when accepting a share

file_target in share response

Shares are not deleted when user is deleted

sharing with group not available

shares are mounted into /Shares folder even after the sharer deletes the collaborator

deleting share response does not contain data field

file_target in share response

Response is empty when accepting a share

File deletion using dav gives unique string in filename in the trashbin

cannot share a folder with create permission

Listing shares via ocs API does not show path for parent folders

Shares are not deleted when user is deleted

Delete shares from user when user is deleted

no displayname_owner shown when creating a share

when sharing a file mime-type field is set to application/octet-stream

OCS error message for attempting to access share via share id as an unauthorized user is not informative

Listing shares via ocs API does not show path for parent folders

Allow getting the share list filtered by share type via API

file_target in share response

Cannot set mtime on upload

Split old public API webdav tests from new public webdav tests

Previews via webDAV API tests fail on OCIS

Previews via webDAV API tests fail on OCIS

Old webdav api does not work with public link

Range Header is not obeyed when downloading a file

Ability to return error messages in Webdav response bodies

various sharing settings cannot be set

OCIS share permissions not enforced

OCIS old public webdav api doesnt works

listing received shares does not work

Upload-only shares must not overwrite but create a separate file

Set quota over settings

various sharing settings cannot be set

Resharing does not work with ocis storage

cannot move from Shares folder

various sharing settings cannot be set

share permissions are not enforced

file_target in share response

Share receiver cannot get share by id

sharing with group not available

invalid format of sharees response

deleting a received share-folder moves it to trash-bin but does not unshare it

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

remote.php/dav/uploads endpoint does not exist

Copying into a shared folder

Scenario Outline: Copying a file to a folder with no permissions

Scenario Outline: delete a folder when there is a default folder for received shares

sharing with group not available

quota query

cannot get share-types webdav property

sharing with group not available

changing user quota gives ocs status 103 / Cannot set quota

not possible to move file into a received folder

cannot move from Shares folder

Scenario Outline: Moving a file into a shared folder as the sharee and as the sharer

OCIS-storage overwriting a file as share receiver, does not create a new file version for the sharer

restoring an older version of a shared file deletes the share

cannot move from Shares folder

sharing with group not available

####not possible to move file into a received folder

getting the metadata without permission results in a 403 error

The version number of a file is incorrect because of the incorrect number of <d:getetag> and <d:getlastmodified> element

Sharing seems to work but does not work

Expiration date for user shares is not implemented

sharing with group not available

Sharing seems to work but does not work

No way to set default folder for received shares

Group shares support

various sharing settings cannot be set

Group shares support

Group shares support

Sharing seems to work but does not work

Share additional info

Share extra attributes

Edit user share response has an "name" field

user can access version metadata of a received share before accepting it

when a share exists its impossible to share a renamed folder

ocis-storage PROPFIND on a file uploaded by share receiver is not possible

OCIS-storage reading a file that a collaborator uploaded is impossible

sharing with group not available

Share lists deleted user as 'user'

OCIS-storage overwriting a file as share receiver, does not create a new file version for the sharer

deleting a share with wrong authentication returns OCS status 996 / HTTP 500

User Management

User and group management features

Cannot create user with different username and emails

special character username not valid

Creating an already existing user works

Password can be set to empty

Username is case sensitive

Client token generation not implemented

disable users /cloud/users/disable|enable not available

displayname of user can be changed to empty

quota query

getting and setting quota

changing user quota gives ocs status 103 / Cannot set quota

user can get info of other users/ cloud/users endpoints not authenticated

incorrect ocs(v2) status value when getting info of user that does not exist should be 404, gives 998

ocs: api compatibility, return correct status code

subadmin endpoints not implemented for users

subadmin endpoints not implemented for groups

creating existing group doesn't gives error

cannot create group with '/'

adding user to non-existent group gives wrong statuscode

adding user to empty group gives wrong statuscode

adding non-existent user to a group gives wrong status code

Cannot create user with different username and emails

special character username not valid

normal users can list the members of the group

ocs v2 invalid status code for group endpoints

user-sync endpoint does not exist

Other

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

no robots.txt available

There is no such thing like a "super-user"

no command equivalent to occ

ocs config endpoint only accessible by authorized users

HTTP 401 Unauthorized responses don't contain a body

server returns 500 when trying to access a not existing file

ocdav: api compatibility, return correct status code

users can access each-others data using the new webdav API

ocdav: api compatibility, return correct status code

renaming a resource does not work

ocdav: api compatibility, return correct status code

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

ocdav: api compatibility, return correct status code

PUT request with missing parent must return status code 409

ocdav: api compatibility, return correct status code

Default capabilities for normal user not same as in oC-core

Difference in response content of status.php and default capabilities

REPORT request not implemented

Scenario Outline: search for entry by pattern

And other missing implementation of favorites

CSRF Headers

Scenario Outline: Downloading a file should serve security headers

Authentication

Scenario Outline: Unauthenticated call

trying to access a non-existing resource returns an empty body

Scenario Outline: Do a PROPFIND to a non-existing URL

system configuration options missing

wildcard Access-Control-Allow-Origin

HTTP 401 Unauthorized responses don't contain a body

app passwords are not possible

app passwords are not possible

various sharing settings cannot be set