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,

Jon



On Mar 18, 2009, at 11:18 AM, Chuck Hill wrote:


On Mar 18, 2009, at 2:11 PM, Johnny Miller wrote:

My EO inherits from ERXGenericRecord and I'm trying to override the didInsert method.

However, it does not appear to be called. I can see the record was stored in the database - is there something I'm missing?

Thanks in advance,

Jon

Is your eo.editingContext() instanceof ERXEC.class ?

Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to