• 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
mandatory relatoinship preventing deletion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mandatory relatoinship preventing deletion?


  • Subject: mandatory relatoinship preventing deletion?
  • From: email@hidden
  • Date: Tue, 21 Oct 2003 10:38:00 CDT
  • Priority: 3 (Normal)

[demime could not interpret encoding binary - treating as plain text]
Having a relationship set to 'mandatory' shouldn't prevent deletion, should it?

I have two entities, which I'll call Employee and Department. Employee
has a mandatory to-one to Department.  When I try to delete an
Employee.... I get a validation exception saying "the department property
of Employee must have a Departmetn assigned."  Huh? But I'm trying to
delete it. And it did have a Department assigned before I deleted it. I
don't get it.

--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: mandatory relatoinship preventing deletion?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: RE: Cascade delete with optional to-one relationship
  • Next by Date: download through Hyperlink
  • Previous by thread: Re: Newbie Question: Graphics in Component
  • Next by thread: Re: mandatory relatoinship preventing deletion?
  • Index(es):
    • Date
    • Thread