magicalpanda/MagicalRecord — Issue #139: Dangling reference to an invalid object in iOS 4.3
Author: aprunedamtz
Created: 2012-02-10 01:00:44+00:00
State: open

I'm getting this error message constantly when running the app with iOS 4.3 simulator. Using iOS 5 everything works perfect. I'm attaching some console output. As you can see, one object seems to have 2 different relationships to the same object

2012-02-09 18:48:01.738 Respond[70769:b603] +[NSManagedObjectContext(MagicalRecord) MR_contextThatNotifiesDefaultContextOnMainThread](0x1568d64) Creating Context - Using Thread Isolation Mode
2012-02-09 18:48:01.739 Respond[70769:b603] +[NSManagedObjectContext(MagicalRecord) MR_contextWithStoreCoordinator:](0x1568d64) Creating MOContext *** On Main Thread ***
2012-02-09 18:48:01.740 Respond[70769:b603] +[NSManagedObjectContext(MagicalRecord) MR_contextWithStoreCoordinator:](0x1568d64) Creating context in Thread Isolation Mode
2012-02-09 18:48:07.135 Respond[70769:b603] -[NSManagedObjectContext(MagicalRecord) MR_saveWithErrorHandler:](0x5b6f310) Saving *** Default *** Context *** on Main Thread ***
2012-02-09 18:48:07.139 Respond[70769:b603] +[MagicalRecordHelpers defaultErrorHandler:](0x16c018) Error: (entity: Tag; id: 0x5d9a7d0 ; data: {
name = AAA;
questions = (
"0x5da0190 ",
"0x5da0180 ",
"0x5da0190 "
);
})
2012-02-09 18:48:07.140 Respond[70769:b603] +[MagicalRecordHelpers defaultErrorHandler:](0x16c018) Error Details: (entity: Question; id: 0x5da0190 ; data: )
2012-02-09 18:48:07.141 Respond[70769:b603] +[MagicalRecordHelpers defaultErrorHandler:](0x16c018) Error:
2012-02-09 18:48:07.142 Respond[70769:b603] +[MagicalRecordHelpers defaultErrorHandler:](0x16c018) Error: questions
2012-02-09 18:48:07.142 Respond[70769:b603] +[MagicalRecordHelpers defaultErrorHandler:](0x16c018) Error: The operation couldn’t be completed. (Cocoa error 1550.)