Support moving versions across storages#2860
Merged
Conversation
b009ced to
7ae2223
Compare
5bb731e to
411607e
Compare
Base automatically changed from
artonge/chore/use_new_version_metadata_api
to
master
March 20, 2024 12:45
59fb534 to
a09fa85
Compare
Merged
2 tasks
c2a8c68 to
006022a
Compare
a0e5d8f to
fed1b23
Compare
fed1b23 to
90d7c85
Compare
come-nc
approved these changes
Apr 4, 2024
Contributor
come-nc
left a comment
There was a problem hiding this comment.
Was moving from one groupfolders to another also tested?
And moving from groupfolder to folder?
Contributor
Author
Out of the scope of this PR. This is only tackling folder to groupfolder move, and vis versa.
Yes, both way. |
90d7c85 to
29a63be
Compare
Signed-off-by: Louis Chemineau <[email protected]>
29a63be to
8e74fd6
Compare
Contributor
Author
|
/backport to stable29 |
Contributor
@artonge There is a typing problem it seems? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As of nextcloud/server#44187
One limitation is that when copying a folder from and to a groupfolder, versions of subfolders will be lost. This is due to the
NodeCopiedEventevent not containing the list of moved files in subfolders. This needs to be addressed in the server.Example: When moving
/acontaining/a/b/c.txtinto/dwhich is a groupfolder, thenc.txtwill lose its versions because theNodeCopiedEventdoes not contain the information thatc.txtwas copied. Weirdly, it works when moving a folder containing/a/c.txt.The test exists and is disabled for now.