Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo bug #82

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Undo bug #82

wants to merge 1 commit into from

Conversation

BlixLT
Copy link

@BlixLT BlixLT commented Sep 10, 2013

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.

@MrRooni
Copy link
Contributor

MrRooni commented Sep 12, 2013

Good catch, thanks. I will be merging this one in once we start our next MoneyWell release cycle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants