I have a complex migration that uses a combination of MappingModel and 
Migration Policy. From version 5 to 6, it seemed to work fine. I've duplicated 
the policy to make a version 5 to 7 policy, which is virtually identical 
(there's a single new relationship). But when I run through the migration, it 
fails with the following errors. It shows a validation error object for three 
different Job entities, and the specific x-coredata: URIs are always different, 
so it's nothing about a specific job; maybe the migration is only showing me 
three of them (there are nine total).

Error migrating data: Error Domain=NSCocoaErrorDomain Code=1560 "The operation 
couldn’t be completed. (Cocoa error 1560.)" UserInfo=0x7fce61e199d0 
{NSDetailedErrors=(
    "Error Domain=NSCocoaErrorDomain Code=1570 \"The operation couldn\U2019t be 
completed. (Cocoa error 1570.)\" UserInfo=0x7fce61e22660 
{NSValidationErrorKey=diskSpaceUsed, NSLocalizedDescription=The operation 
couldn\U2019t be completed. (Cocoa error 1570.), 
NSValidationErrorObject=<NSManagedObject: 0x7fce642d4a60> (entity: Job; id: 
0xd000000000180008 <x-coredata://9E800C69-57C6-4A27-8EF4-D89E63F9E256/Job/p6> ; 
data: <fault>)}",
    "Error Domain=NSCocoaErrorDomain Code=1570 \"The operation couldn\U2019t be 
completed. (Cocoa error 1570.)\" UserInfo=0x7fce61e0c440 
{NSValidationErrorKey=diskSpaceUsed, NSLocalizedDescription=The operation 
couldn\U2019t be completed. (Cocoa error 1570.), 
NSValidationErrorObject=<NSManagedObject: 0x7fce642d3640> (entity: Job; id: 
0xd0000000000c0008 <x-coredata://9E800C69-57C6-4A27-8EF4-D89E63F9E256/Job/p3> ; 
data: <fault>)}",
    "Error Domain=NSCocoaErrorDomain Code=1570 \"The operation couldn\U2019t be 
completed. (Cocoa error 1570.)\" UserInfo=0x7fce61e1e570 
{NSValidationErrorKey=diskSpaceUsed, NSLocalizedDescription=The operation 
couldn\U2019t be completed. (Cocoa error 1570.), 
NSValidationErrorObject=<NSManagedObject: 0x7fce642d4590> (entity: Job; id: 
0xd000000000200008 <x-coredata://9E800C69-57C6-4A27-8EF4-D89E63F9E256/Job/p8> ; 
data: <fault>)}"
)}

Any ideas? Thanks!

-- 
Rick Mann
rm...@latencyzero.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to