owncloud / owncloud/ocis

listing the revisions of a non existing file should return 404

Open
#7,758 0 comments 0 reactions 1 assignee Claimed by @butonic View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

Leaving this here to double check.

listing the revisions of a non existing file should return a 404 error, not a multistatus response:
```
And the version folder of file "/davtest.txt-olddav-oldchunking" for user "Alice" should contain "1" element # FilesVersionsContext::theVersionFolderOfFileShouldContainElements()

could not find 1 version element(s) in

/remote.php/dav/meta/1284d238-aa92-42ce-bdc4-0b0000009157$d3e65d9a-18e7-103e-9fce-85b7d2780902%21d55ab4da-29de-4750-9ee8-09c70e653e02/HTTP/1.1 404 Not Found

Failed asserting that 0 matches expected 1.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.