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

Coredata error when trying to delete processed events #21

Closed
cmavromoustakos opened this issue Dec 4, 2015 · 1 comment
Closed

Coredata error when trying to delete processed events #21

cmavromoustakos opened this issue Dec 4, 2015 · 1 comment
Assignees

Comments

@cmavromoustakos
Copy link

It looks as if it is related to the same issue we had with inserting and removing configs.

We might not be inserting/deleting on the proper context(s) and as a result trying to delete an event that has not been inserted into the context.

2015-12-04 16:26:04.263 Shopnify[52661:583278] Error saving to child context Error Domain=NSCocoaErrorDomain Code=134030 "(null)" UserInfo={NSAffectedObjectsErrorKey=(
"<NSManagedObject: 0x7f8f056579c0> (entity: EventEntity; id: 0x7f8f05657a20 <x-coredata:///EventEntity/tC7FA37C2-3826-4C66-BC38-7AF4F7720FA837> ; data: {\n    creationDate = 1449263450899;\n    data = nil;\n    featureKeyValue = 0;\n    isDefault = 0;\n    key = \"user.isConnected\";\n    kind = feature;\n})"
, NSUnderlyingException=Cannot delete object that was never inserted.}, {
NSAffectedObjectsErrorKey =     (
    "<NSManagedObject: 0x7f8f056579c0> (entity: EventEntity; id: 0x7f8f05657a20 <x-coredata:///EventEntity/tC7FA37C2-3826-4C66-BC38-7AF4F7720FA837> ; data: {\n    creationDate = 1449263450899;\n    data = nil;\n    featureKeyValue = 0;\n    isDefault = 0;\n    key = \"user.isConnected\";\n    kind = feature;\n})"
);
NSUnderlyingException = "Cannot delete object that was never inserted.";

}

@cmavromoustakos
Copy link
Author

This should be fixed in pull : #20

Specifically: aa314a7

arun251 added a commit that referenced this issue Jun 9, 2017
Fix multi threading crash for events array
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

No branches or pull requests

1 participant