HubTurbo / addressbook

A small app for training and experimentation
Other
1 stars 3 forks source link

StorageManager saving unnecessarily #533

Closed damithc closed 8 years ago

damithc commented 8 years ago

(StorageManager) Local data changed, saving to primary data file appears in the log frequently even when there is no UI activity at all.

AlexLMeow commented 8 years ago

Found the problem: cloud simulator overwrites last-updated timings when creating the person objects.

So asking for changes since X time from cloud always returns the whole cloud addressbook, and is considered a change to the model, so it saves to disk.

AlexLMeow commented 8 years ago

Fixed via #541