-
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
[BUG] Av. offline files removed locally with the Local only
option
#4399
[BUG] Av. offline files removed locally with the Local only
option
#4399
Conversation
4664694
to
abd2de1
Compare
9f4d4f4
to
c753572
Compare
c3f0242
to
9d25437
Compare
Local only
option
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 and comments here for you to review @Aitorbp!
...rc/main/java/com/owncloud/android/presentation/files/removefile/RemoveFilesDialogFragment.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/syncadapter/FileSyncAdapter.java
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/providers/LocalStorageProvider.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/providers/LocalStorageProvider.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
527fbcd
to
f1716f8
Compare
Checks functionalities of Case Delete files only local:
Case refresh on a folder that no longer exists:
Case move folder with a source folder that no longer exists:
If you move a folder to a destination folder that no longer exists:
If you copy a folder from a source folder that no longer exists:
If you copy a folder to a destination folder that no longer exists:
I leave you these test cases in case you want to try them when doing QA @jesmrec |
5e63372
to
29cb5f9
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 more things to check here @Aitorbp 👀
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
62592e4
to
abf4f9e
Compare
owncloudData/src/main/java/com/owncloud/android/data/providers/LocalStorageProvider.kt
Outdated
Show resolved
Hide resolved
...udApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt
Outdated
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.
One more change, and review as well the non-resolved comment of the previous CR round @Aitorbp
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
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.
@Aitorbp an explanation would be nice here, so that we can check it in the future if we forget
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
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.
Let's move this to QA 🚀
…olderUseCase to added to the condition to syncs the content folder
…FolderUseCase when is recursive
…oveFilesDialogFragment and changed names of us and variables
2e97003
to
62a76c5
Compare
First, checks over #4402, that is merged into here Folder with some files and a subfolders that also contains some files Folder1
|
Basic behaviour: Remove folder dialog when...:
All those tests were repeated with files inside a subfolder. Local copies of the items removed externally:
|
(1) [FIXED]I noticed the bad behaviour when a sync is performed (not an av. offline); With the following structure: Folder with some files and a subfolders that also contains some files Folder1
Current: File3 and File 4 are not downloaded. Expected: Both File3 and File4 are downloaded, because their parent folder was synced in the previous step. That was the problem fixed in #4402 from the av. offline files, that seems to be reproducible with sync. Pixel 2, Android 11 |
bb9cacf
to
b6c01f1
Compare
b6c01f1
to
080a201
Compare
Approved on my side. |
Related Issues
App:#4353
ReleaseNotesViewModel.kt
creating a newReleaseNote()
with String resources (if required)QA
Reports:
Local only
option #4399 (comment) [FIXED]