Re: Trouble with core data and Save As
Re: Trouble with core data and Save As
- Subject: Re: Trouble with core data and Save As
- From: Gideon King <email@hidden>
- Date: Wed, 3 Mar 2010 09:07:03 +1000
>
> The custom store seems like the most probable source of issues. One source of problems I've seen is when a custom store doesn't handle either the metadata or the objectIDs correctly. The store UUID and the object's IDs need to be stable (e.g. if we ask your store for its UUID, it doesn't make up a new answer for every question). If you give us an objectID to assign to an object, you cannot later change your mind. And then there's just not preserving the contents of the metadata.
>
> If you can create a stripped down sample project that reproduces the issue, you could file a bug.
>
> - Ben
>
Thanks for the suggestions Ben. I am pretty sure we are doing the right thing with the IDs, but will check. I did see somewhere that we are storing the metadata, but haven't looked at that code myself, so will take a look. It would be a huge effort to try to create a stripped down version, so will try the other approaches first._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden