I am encountering an error that I have not seen before.

While saving in a NSManagedObjectContext I am encountering an error
that reports a to-many relationship as 'too large'.
This relationship has ~10,000 members but each member is relatively
simple consisting of a few short strings and numbers.
I have no problems operating on this relation; the error only occurs
while saving.
Many GB of disk space are available. Error occurs independent of store
type, SQLite, binary, or xml.
Smaller (different) relations of ~1000 members are correctly saved.

1) Is this really a size problem?

No. I suppose it's possible there's a 16 bit overflow bug somewhere, but there shouldn't be (obviously), and I can't imagine any issue with 10,000. It is possible for you to set the maximum size of a to-many relationship in your model. Did you check the property validation rules for this relationship ?

2) can someone point me to relevant documentation?

You sure it's not NSValidationNumberTooLargeError for one of the numbers being outside the range you specified acceptable in the model ?

- Ben



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to