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

Bug #994126 reported by Zachery Bir on 2012-05-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Files App for iOS
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.

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) on 2012-05-07
Changed in ubuntuone-ios-files:
status: New → Triaged
Zachery Bir (urbanape) on 2012-05-09
Changed in ubuntuone-ios-files:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers