-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[FEATURE REQUEST] Improve the removed from original folder
option in Auto Uploads
#4437
[FEATURE REQUEST] Improve the removed from original folder
option in Auto Uploads
#4437
Conversation
removed from original folder
option in Auto Uploads
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.
Some changes requested here @Aitorbp
...main/java/com/owncloud/android/usecases/transfers/uploads/UploadFileFromContentUriUseCase.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/RemoveLocalFileWorker.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/RemoveLocalFileWorker.kt
Outdated
Show resolved
Hide resolved
dc40855
to
84ec62b
Compare
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.
One comment here @Aitorbp
...main/java/com/owncloud/android/usecases/transfers/uploads/UploadFileFromContentUriUseCase.kt
Outdated
Show resolved
Hide resolved
...main/java/com/owncloud/android/usecases/transfers/uploads/UploadFileFromContentUriUseCase.kt
Outdated
Show resolved
Hide resolved
3b981b6
to
41c2016
Compare
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.
LGTM
The solution that has been attempted in this issue is the following: |
Let's QA this move behaviour:
copy behaviour (regression)
|
(1) [FIXED]i did the following steps:
Current: uploads are finally uploaded, but they are still in local NOTE: with connection loss, it works fine. Pixel 2, Android11 |
To put this problem into context, first of all we need to know the different behaviors between how the worker works when there is no connection and when the server is off. No connection: The worker is not executed, therefore the upload remains queued until the connection is recovered. Server off: The worker is executed, but the upload ends up failing because the server is not operational and the upload gives a The problem is that within the As a solution, we have created a new column ( |
8a346d8
to
b18aeb7
Compare
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.
Some comments
owncloudApp/src/main/java/com/owncloud/android/workers/RemoveSourceFileWorker.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/RemoveSourceFileWorker.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/RemoveSourceFileWorker.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/UploadFileFromFileSystemWorker.kt
Show resolved
Hide resolved
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.
LGTM
…ryUploadFromSystemUseCase
0f2c8b0
to
57a3476
Compare
Let's move this one. Now, with Good one, improving our reliability 💯 |
Related Issues
App:
ReleaseNotesViewModel.kt
creating a newReleaseNote()
with String resources (if required)QA
Checks:
#4437 (comment)
Reports:
removed from original folder
option in Auto Uploads #4437 (comment) [FIXED]