CoreData does not support persistent cross-store relationships
CoreData does not support persistent cross-store relationships
- Subject: CoreData does not support persistent cross-store relationships
- From: Terrence Talbot <email@hidden>
- Date: Tue, 1 Nov 2005 12:49:21 -0800
Since upgrading to 10.4.3 yesterday -- though I can't prove that
whatever changed in Core Data in 10.4.3 is the cause -- whenever I do
a Save As... of a document, I get an _NSCoreDataException thrown
before migratePersistentStore:toURL:options:withType:error completes.
All it says is "CoreData does not support persistent cross-store
relationships". The backtrace is unhelpful: it's just the sequence of
events leading to a savePanelDidEnd:. The userInfo dictionary is a
little more interesting:
"Destination object" = <KTMediaRef: 0x84e3060> (entity:
MediaRef; id: 0x84e4780 <x-coredata://1A001080-30EB-4F50-
BE10-0CDB4C9BD753/MediaRef/p3> ; data: <fault>);
"Source object" = <KTPage: 0x84dc280> (entity: Page; id:
0x84f5720 <x-coredata://5D85741F-95E5-48D0-9A7C-722DFFA340E4/Page/
tF9B74525-A1C6-4EB9-A88B-96FC6551310F> ; data: {
The destination object turns out to be the source's "thumbnail"
relationship:
thumbnail = 0x84e4780 <x-coredata://1A001080-30EB-4F50-
BE10-0CDB4C9BD753/MediaRef/p3>;
Is there any particular reason why it would not have migrated the
KTMediaRef object to the new store as well? Is there anything I can
do to trace this further? (This is a straight-up single stack, single
store document that is being generically Save As'd by
NSPersistentDocument.)
- Terrence
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden