• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remove action on NSArrayController bound to table causes index beyond bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove action on NSArrayController bound to table causes index beyond bounds


  • Subject: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • From: Luke Evans <email@hidden>
  • Date: Tue, 24 Mar 2009 00:27:46 -0700

Did you try googling the CoreData error message you pasted? One result comes from this very list's archives:

Check your Managed Object Model. You most likely have a relationship problem. Specifically, scrutinize your deletion rules on all relationships.

Thanks. Well, as far as I can tell the model is in good shape, deletion rules are what I expect (and I have no "No Action" anywhere).


Moreover, there is absolutely no problem with deletion except in the given conditions (the remove action that causes the set of displayed rows to fit in the table).
It's strange, but there you have it... that's what I'm seeing.


I can add and remove the objects in the table without any sign of a problem until this boundary is involved.

I was _guessing_ that the CoreData error was likely to be the result of the index out of bounds exceptions in the table binding code. That might turn out not to be the case of course, but the latter exceptions do occur before core data complains about not being able to fulfil a fault (which seems to happen at the next "commitEditing" before a periodic save). There are absolutely no examples of this error for the majority of instances of remove (the CoreData faulting error ONLY seems to occur after the array bounds exceptions has been induced).

-- lwe


_______________________________________________

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


  • Follow-Ups:
    • Re: Remove action on NSArrayController bound to table causes index beyond bounds
      • From: Luke Evans <email@hidden>
  • Prev by Date: Re: -hexValue for NSString?
  • Next by Date: Re: Memory leak when setting CALayer name
  • Previous by thread: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • Next by thread: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • Index(es):
    • Date
    • Thread