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

restoring a file from trashbin overwrites existing file without notice #196

Open
individual-it opened this issue Sep 2, 2020 · 0 comments
Labels
bug Something isn't working p3-medium

Comments

@individual-it
Copy link
Member

on webUI of current ocis master

  1. upload a file called file.txt
  2. delete file.txt
  3. upload file.txt again but with different content
  4. restore file.txt from trashbin
  5. check the content of file.txt

file.txt is overwritten with the content of the trasbin version, the version in the users space is lost

Expected behaviour:

- the error message should give the reason "cannot restore in the original location XXX, a file with the same name is already there."
- and/or (even better) suggest to rename things to resolve that conflict, then restore.

this supersedes the behaviour in #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p3-medium
Projects
None yet
Development

No branches or pull requests

1 participant