• 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: didInsert not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: didInsert not called


  • Subject: Re: didInsert not called
  • From: David LeBer <email@hidden>
  • Date: Wed, 18 Mar 2009 20:47:51 -0400


On 18-Mar-09, at 8:25 PM, Johnny Miller wrote:

OK,

That was my mistake - I was using a regular EOEditingContext.

However, I now have a new issue >:)

At what point during the delete process can you access a relationship before it gets nullified?

I'm trying to grab it at canDelete and at validateForDelete but the relationship has already been nullified.

Thanks in advance,


mightDelete();

<http://webobjects.mdimension.com/wonder/api/er/extensions/eof/ERXGenericRecord.html#mightDelete() >
public void mightDelete()
Description copied from interface: ERXEnterpriseObjectCalled as part of the augmented transaction process. This method is called when deleteObject() is called on the editing context. The benefit over willDelete() is that in this method, the relationships are still intact. Mostly, at least, as it's also called when the deletes cascade.


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: didInsert not called
      • From: Johnny Miller <email@hidden>
References: 
 >didInsert not called (From: Johnny Miller <email@hidden>)
 >Re: didInsert not called (From: Chuck Hill <email@hidden>)
 >Re: didInsert not called (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: Eclipse+wolips stable update failed
  • Next by Date: Re: didInsert not called
  • Previous by thread: Re: didInsert not called
  • Next by thread: Re: didInsert not called
  • Index(es):
    • Date
    • Thread