Important information stored in CoreData can be deleted leading to re-uploaded photos.

Bug #994126 reported by Zachery Bir
8
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.

Revision history for this message
Zachery Bir (urbanape) wrote :

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.

Rick McBride (rmcbride)
Changed in ubuntuone-ios-files:
status: New → Triaged
Zachery Bir (urbanape)
Changed in ubuntuone-ios-files:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.