You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a file called file0.txt with the content Awesome new file.
update the file so the content is now: File.
restore the first version of the file
get the content of the file using webdav
curl -u tu1:tu1 -X GET 'http://core/remote.php/dav/files/tu1/file0.txt'
Exected result
You get the original content of the file Awesome new file
Actual Result
You only get the part of the file Aweso
possible related to #156, The file metadata seems to be not updating while changing the file version.
The request only returns the file as it sends request with Contnent-Length set to the old length of the file.
The text was updated successfully, but these errors were encountered:
phil-davis
changed the title
After restoring a version of a file, webdav doesn't give the correct content.
After restoring a version of a file, webdav doesn't give the full correct content.
Nov 29, 2019
Test scenario to cover this is added in core owncloud/core#36490
When fixing this bug, remove the @skipOnStorage:ceph@files_primary_s3-issue-278 tags, and make the scenario pass with S3 storage.
Steps to reproduce
file0.txt
with the contentAwesome new file.
File.
Exected result
You get the original content of the file
Awesome new file
Actual Result
You only get the part of the file
Aweso
possible related to #156, The file metadata seems to be not updating while changing the file version.
The request only returns the file as it sends request with Contnent-Length set to the old length of the file.
The text was updated successfully, but these errors were encountered: