-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix upload download problems #12794
Fix upload download problems #12794
Conversation
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.
As review was requested by Alper in the original PR:
Confirming normal downloading works for me with this PR
Can you either suppress spotbugs, or manually increase count, so that CI is green? |
/backport to stable-3.28 |
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.
Downloading and uploading worked flawlessly in my tests.
Please address my comment on FileDownloadHelper
.
return isJobScheduled || if (file.isFolder) { | ||
backgroundJobManager.isStartFileDownloadJobScheduled(user, topParentId) |
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.
Shouldn't isJobScheduled
be joined onto line 54 (inside the if
branch) instead of line 53? Was this change made on purpose?
Otherwise this could change the return value of isDownloading()
.
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
b91da26
to
11c24e6
Compare
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12794.apk |
blue-Light-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/12794-Screenshot-blue-Light-07-32 |
By Alper
This PR Fixes Following Problems
Sync icon visibility during download
Accessing after download attempt to etag throws null point exception
Remove file dialog actions order is wrong for downloaded and normal file
File download
Note
The Spotbugs count increased due to the reintroduction of old code (with improvements) in this PR.