Outdated cache conflicts with resumable downloads
Bug #1000473 reported by
Michał Karnicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Android Files |
Fix Released
|
Critical
|
Michał Karnicki |
Bug Description
When a file is downloaded, and later U1F notices a new generation of metadata, it drops the path to the file from MetaProvider, but does not remove the old version. Initially, this was intentional. Now that we have resumable downloads, whenever generation changes, the easiest fix of the problem would be to remove the cached file immediately, so it doesn't interfere and cause a resumable download. Alternatively, leave the file, but check it's status before each opening of the file - meh.
Related branches
lp:~karni/ubuntuone-android-files/fix-invalidate-cache
- dobey (community): Approve
- Chad Miller: Pending requested
-
Diff: 102 lines (+33/-2)3 files modifiedsrc/com/ubuntuone/android/files/activity/FilesActivity.java (+3/-0)
src/com/ubuntuone/android/files/service/MetaService.java (+22/-2)
src/com/ubuntuone/android/files/util/TransferUtils.java (+8/-0)
Changed in ubuntuone-android-files: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Michał Karnicki (karni) |
Changed in ubuntuone-android-files: | |
status: | Triaged → In Progress |
Changed in ubuntuone-android-files: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-android-files: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.