-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
BugFix - Sync Nested Folder #13974
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
BugFix - Sync Nested Folder #13974
Conversation
ba05f94
to
aa1537f
Compare
Signed-off-by: alperozturk <[email protected]>
aa1537f
to
aebd7bb
Compare
blue-Light-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13974-Screenshot-blue-Light-12-17 |
|
||
private void prepareOpsFromLocalKnowledge() throws OperationCancelledException { | ||
List<OCFile> children = getStorageManager().getFolderContent(mLocalFolder, false); | ||
List<OCFile> children = getStorageManager().getAllFilesRecursivelyInsideFolder(mLocalFolder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to have nested folder sync, we should start with SynchronizeFolderOperation on folders, but not only on files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SynchronizeFolderOperation needs to be used.
Duplication of #14166 |
Why is this closed? It's not a duplication of #14166. This is about nested folder or level 1 files only. It's still present in the latest version. |
How to Test?
The sync folder action should sync all files within the selected folder, not just those one level below.