drewmccormack / ensembles

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

Add thorough tests for updating relationships while deleting object #109

Closed drewmccormack closed 10 years ago

drewmccormack commented 10 years ago

Crashes have been caused by NSNull objects in mergeToManyRelationshipFromSubordinatePropertyChangeValue and convertToManyRelationshipValuesToGlobalIdentifiersInPropertyChangeValue after deleting all objects and merging. Construct tests to cause these nulls, and ensure no crashes occur.