You want No Action, not Nullify.

Chuck


On Sep 2, 2010, at 7:02 PM, Benjamin Chew wrote:

> Hi,
> 
> I have a category structure set up with these relationships: 
> parent category ---cascade delete rule---> child category
> parent category <---nullify delete rule--- child category
> 
> category ---cascade delete rule/owns destination---> products
> category <---nullify delete rule--- products
> 
> The problem occurs when I have a category with a child category that contains 
> products. When I delete the parent category, I expect the parent and child 
> category, along with all the child category's products to be deleted, but 
> what ends up happening is that the categories are deleted but the products 
> are not.
> 
> When I remove the nullify delete rule from "products" to "category", the 
> parent and child categories are deleted along with the child category's 
> products. 
> 
> Does anyone know why this is?
> 
> Thanks,
> Ben
> _______________________________________________
> 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/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
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