Re: CoreData XML error while saving
Re: CoreData XML error while saving
- Subject: Re: CoreData XML error while saving
- From: email@hidden
- Date: Sun, 09 Oct 2005 17:43:56 +0200
How am I supposed to use this method (willPresentError)?
Simply add it to my document sublass? It unfortunately doesn't catch anything by
doing this? (I still have the error in the console)
What is worrying me is that the error message doesn't appear when using
SQLite... and I would bet it also doesn't appear with the Binary format... in
this case this would mean there is a bug in the Apple XML code... :-(
Any other tip before submitting a bug report which isn't going to be fixed or
answered until 10.5 (if there is one) :-( ?
Bruno
Quoting Niko Matsakis <email@hidden>:
> I am not sure, but one thing I found helpful I stole from the
> EventManager Core Data sample application: it is a small bit of code
> that intercepts errors which occur while saving and displays them in
> a little alert box. These haves always been pretty helpful for me to
> track down inconsistencies in my model. Look at willPresentError: in
> MyDocument.m.
>
> Ordinarily it seems these are ignored, or only a generic message like
> "an error occurred" is displayed, I can't recall.
>
> Anyway, if you haven't already you might give that a shot in hopes of
> getting a better error message.
>
>
>
> Niko
>
> On Oct 7, 2005, at 8:11 AM, Bruno Blondeau wrote:
>
> > I'm getting the following error in the console while saving my
> > CoreData document:
> >
> > An error occurred creating an XML representation of a valid
> > property list.
> >
> > It unfortunately seems to happen a bit randomly (even though I can
> > reproduce it always using the same data set)
> >
> > I haven't found any documentation regarding this error message.
> > What does it mean? What is the probable origin?
> >
> > Bruno
> >
> >
> > _______________________________________________
> > 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
> >
>
>
_______________________________________________
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