nothirst/TICoreDataSync — pull request #82 by BlixLT (2013-09-10 06:39:48+00:00)
Title: Undo bug

This code fixes one bug with an undo manager. When [TICDSChangeIntegrityStoreManager storeTICDSSyncID:forManagedObjectID:] is being called in the [TICDSSynchronizedManagedObject createSyncChangeForInsertion] method, that managedObject has a temporary objectID and ticdsSyncID is being cached with this temporary ID. However after undo this managedObject has a permanent objectID and ticdsSyncID is not being found. Therefore no sync change is being generated.
And after managedObjectContext's save: method, all inserted managedObjects have permanent objectIDs, so this will fix that bug.