Re: Validation error in a relationship? (in coredata)
Re: Validation error in a relationship? (in coredata)
- Subject: Re: Validation error in a relationship? (in coredata)
- From: malcom <email@hidden>
- Date: Wed, 17 Oct 2007 00:35:42 +0200
ops.
Fixed a problem with custom accessor mehtod in ANTStArticle_Content.
Should be ok now (http://pastebin.com/m38aa3280).
But the problem persist.
Umpf where f* is the error? :((
On 10/16/07, malcom <email@hidden> wrote:
> >Hell's Kitchen/Dexter/Malcolm:
>
> Hello Chris, I'm sorry but I've encountered some problems with my
> gmail account and apple ml so I've created another accounts.
>
> Well, regarding the problem I've created right (?) custom accessor
> methods but the problem persist. This is the code:
> ANTStArticle.m -> http://pastebin.com/m65f42c4b
> ANTStArticle_Content.m -> http://pastebin.com/m57644dd9
> While you can download the entire project here:
> http://www.mediafire.com/?5iyukzukm20
>
> The problem still to be this:
> NSError "draftContent is not valid." Domain=NSCocoaErrorDomain
> Code=1550 UserInfo={
> NSLocalizedDescription = "draftContent is not valid.";
> NSValidationErrorKey = draftContent;
> NSValidationErrorObject = <ANTStArticle: 0x3244d0> (entity: DRAFT;
> id: 0x336850 <x-coredata:///DRAFT/tCA7B7E93-3242-40D2-B324-6D3FF369E009>
> ; data: {
> draftConnection = -1;
> draftContent = 0x33b0e0
> <x-coredata:///DRAFT_CONTENT/tA2EE9788-F757-4A55-BF5D-7DC7122FBB9D>;
> draftIsSentArticle = 0;
> draftIsSuspended = 0;
> draftLocked = 0;
> draftMarkAndSendNextTime = 0;
> draftMessageID = uid;
> draftNewsgroups = nil;
> draftProfile = -1;
> draftReplyToID = nil;
> draftSendLaterTime = nil;
> draftSentDate = nil;
> draftSignName = -1;
> });
> NSValidationErrorValue = <ANTStArticle_Content: 0x3314c0> (entity:
> DRAFT_CONTENT; id: 0x33b0e0
> <x-coredata:///DRAFT_CONTENT/tA2EE9788-F757-4A55-BF5D-7DC7122FBB9D> ;
> data: {
> messageBody = "";
> messageHeaders = <040b7374 7265616d 74797065 6481e803 84014084
>
> 8484134e 534d7574 61626c65 44696374 696f6e61 72790084 840c4e53 4469>;
> });
> }
>
--
www.malcom-mac.com - independent software developer
mail: email@hidden
_______________________________________________
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