-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(auto upload): file skip check #16276
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: alperozturk <[email protected]>
|
/backport to stable-3.35 |
Signed-off-by: alperozturk <[email protected]>
| return | ||
| } | ||
|
|
||
| val entity = dao.getFileByPathAndFolder(localPath, syncedFolder.id.toString()) |
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.
getAutoUploadFilesEntities already returns file needs to be uploaded and if we skip when fileSentForUpload is true, changed files will not be uploaded.
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16276.apk |
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |

Issue
lastScanTimestampMs != -1L && lastModified < lastScanTimestampMsThis skip logic must be applied for only
fileSentForUploadis true, otherwise it will skip newly added files as well.How to test?
Result