Skip to content

Rename/copy doesn't preserve versions #13

@PVince81

Description

@PVince81

Steps

  1. docker run -p 9000:9000 minio/minio server /data{1...12}
  2. Create a bucket nextcloud-dev in the Minio console
  3. Enable versioning for that bucket
  4. occ app:enable files_external
  5. occ app:enable files_versions_s3
  6. Setup that minio thing as external storage
  7. Create a folder "test/sub"
  8. Upload multiple versions of a single file "test.md" (or use the text editor, but beware of Text editor keeps on detecting non-existing conflicts on external storage text#1896)
  9. Check the versions list of "test/sub/test.md" and see that multiple versions exist there
  10. Rename "test" to "test_renamed"
  11. Check again the versions list of "test_renamed/sub/test.md"

Expected result

Versions are preserved like for other storages.

Actual result

Versions not preserved.

Versions

Nextcloud 23 git master 4a1a9d6821fa61885080793ab34cdb9f4d2d0057

Notes

Unrelated to #11 but they both use the copy routine.
It's the copy that should somehow copy the versions as well if possible.
I hope the S3 API allows for that, otherwise we'll need to recurse there.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions