drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Do not include sub-entities when fetching unreferenced objects. #119

Closed ddeville closed 10 years ago

ddeville commented 10 years ago

This is to fix a bug where an object belonging to a sub-entity would be fetched and matched by the predicate since it is logically not in the object IDs set. The object would thus be deleted being seen as unreferenced.

Issue #118

drewmccormack commented 10 years ago

Good catch. Thanks!