Important information stored in CoreData can be deleted leading to re-uploaded photos.
Bug #994126 reported by
Zachery Bir
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Files App for iOS |
Fix Committed
|
Undecided
|
Zachery Bir |
Bug Description
We store the correlation between ALAssets (Camera Roll contents) and the generation of the counterpart Files Node id in a CoreData database that can be deleted. While the other CoreData metadata can be regenerated, if this database is deleted, the app doesn't preemptively ignore previously-uploaded assets.
We should either (or both):
- Store this relationship DB in a manner that prevents it from being culled in the case of low storage
- Use HEAD requests on the new upload to prevent re-uploading the same image.
Changed in ubuntuone-ios-files: | |
status: | New → Triaged |
Changed in ubuntuone-ios-files: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
A better solution is just to move this database to the user's Documents folder, since it's a) precious, and b) on-device-created content.