• 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: Owns destination doesn't play well with nullify delete rule?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Owns destination doesn't play well with nullify delete rule?


  • Subject: Re: Owns destination doesn't play well with nullify delete rule?
  • From: Benjamin Chew <email@hidden>
  • Date: Fri, 10 Sep 2010 13:30:06 -0700

Ah, good to know. Thanks Chuck!

On Wed, Sep 8, 2010 at 3:15 PM, Chuck Hill <email@hidden> wrote:
It's because if you nullify the relationship, after EOF does that it can't find the related objects to do the cascade delete.  Nullify and Cascade are not compatible.

Chuck


On Sep 7, 2010, at 7:31 AM, Benjamin Chew wrote:

> Thanks Chuck! Is that because of the owns destination relationship from category to products?
>
> Ben
>
> On Thu, Sep 2, 2010 at 7:42 PM, Chuck Hill <email@hidden> wrote:
> 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@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
> --
> 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
>
>
>
>
>
>
>
>

--
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Owns destination doesn't play well with nullify delete rule? (From: Benjamin Chew <email@hidden>)
 >Re: Owns destination doesn't play well with nullify delete rule? (From: Chuck Hill <email@hidden>)
 >Re: Owns destination doesn't play well with nullify delete rule? (From: Benjamin Chew <email@hidden>)
 >Re: Owns destination doesn't play well with nullify delete rule? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: EOF issue
  • Next by Date: Re: Does Apple stop to use WebObjects for its internal tools?
  • Previous by thread: Re: Owns destination doesn't play well with nullify delete rule?
  • Next by thread: Re: WOO file
  • Index(es):
    • Date
    • Thread