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

Cannot download encrypted file version after moving to external storage #13668

Closed
PVince81 opened this issue Jan 26, 2015 · 1 comment · Fixed by #16501
Closed

Cannot download encrypted file version after moving to external storage #13668

PVince81 opened this issue Jan 26, 2015 · 1 comment · Fixed by #16501

Comments

@PVince81
Copy link
Contributor

Steps to reproduce

  1. Enable encryption, external storage and files locking app
  2. Log out then log in again
  3. Mount a SFTP external storage to "/sftp"
  4. Create a text file in the home root: "test.txt"
  5. Edit the text file several times to create versions
  6. Check the versions dropdown to have at least 3 versions
  7. Check that an older version can be downloaded
  8. Now move "test.txt" to "/sftp"
  9. Check the versions dropdown
  10. Download a version

Expected result

Versions can be downloaded, preview looks alright.

Actual result

Version file is still encrypted after download. The text preview thumbnail shows an encrypted content.
I haven't tried without the locking app, but suspect that it might happen without it too.

Versions

Happens on OC 8 master (f8b1fde)
and on OC 7 stable7 (80560e7)

Logs

Log (with the files_locking entries removed as it is too long)

{"reqId":"54c642d56a206","app":"PHP","message":"ob_end_clean(): failed to delete buffer. No buffer to delete at \/srv\/www\/htdocs\/owncloud\/lib\/private\/files\/view.php#269","level":0,"time":"2015-01-26T13:36:21+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/files_versions\/download.php?file=%2Fsftp%2Fv2.txt&revision=1422279013"}

@schiesbn

@davitol
Copy link
Contributor

davitol commented Jul 3, 2015

👍 fixed

@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
@lock lock bot unassigned schiessle Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants