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

Moving a file out of folder removes the versions #777

Closed
individual-it opened this issue Oct 29, 2020 · 3 comments
Closed

Moving a file out of folder removes the versions #777

individual-it opened this issue Oct 29, 2020 · 3 comments
Labels
Category:Defect Existing functionality is not working as expected Type:Bug

Comments

@individual-it
Copy link
Member

  1. start ocis with OWNCLOUD storage
  2. create a folder
  3. upload a file into that folder
  4. overwrite the file to create a version
  5. move the file out of the folder to the root
  6. check the versions => no versions are shown
@settings settings bot removed the bug label Jan 12, 2021
@refs refs added Storage:OC Category:Defect Existing functionality is not working as expected labels Jan 13, 2021
@refs refs changed the title [OC-Storage] moving a file out of folder removes the versions [OC-Storage] Moving a file out of folder removes the versions Jan 13, 2021
@refs refs changed the title [OC-Storage] Moving a file out of folder removes the versions Moving a file out of folder removes the versions Jan 13, 2021
@settings settings bot removed the Storage:OC label Jan 29, 2021
@settings settings bot removed the p3-medium label Apr 7, 2021
@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Aug 8, 2023

  • if we use MOVE method then the file version exists but while copying the file => no version exists to copied file but the original file has the version. I think that is the correct behavior. If yes we can close this issue
  • renaming files also doesn't affect file version
    cc @individual-it @saw-jan

@individual-it
Copy link
Member Author

with point 4 I mean to upload a new version with a normal PUT request.
How does it behaves if you upload the file again?

@saw-jan
Copy link
Member

saw-jan commented Jan 11, 2024

Tested with ocis 5.0.0
File versions are there

Test coverage extended in #8183
So closing this here.

@saw-jan saw-jan closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Defect Existing functionality is not working as expected Type:Bug
Projects
None yet
Development

No branches or pull requests

4 participants