• 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
Fwd: Items mysteriously disappearing from the destination of a relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Items mysteriously disappearing from the destination of a relationship


  • Subject: Fwd: Items mysteriously disappearing from the destination of a relationship
  • From: Jean Pierre Malrieu <email@hidden>
  • Date: Tue, 18 Feb 2014 22:57:49 +0100

I guess I found the cause: a cascade delete rule from the source entity to destination entity. I'll set it to nullify and see if it works.

JPM

Début du message réexpédié :

De: Jean Pierre Malrieu <email@hidden>
Objet: Items mysteriously disappearing from the destination of a relationship
Date: 18 février 2014 22:40:15 UTC+1
À: WebObjects Development <email@hidden>

Hi,

I have a D2W app where users edit a many-to-many relationship. The to-many is flattened.
The editing uses a ERD2WEditToManyRelationship component (using a checkbox array). Users cannot add new items to the destination entity.
In deployment, I notice that after a while, the destination item of the relationship get progressively deleted. They are not simply removed from the relationship: they are removed from the database.
Strangely this happens even if the items in the joint table are not deleted... and I have no cascade delete rule for the relation from the joint table to the destination entity.

I cannot imagine what can produce this phenomenon, and I do not succeed to reproduce it in development. Any ideas?

TIA

JPM

 _______________________________________________
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: Items mysteriously disappearing from the destination of a relationship
      • From: Lon Varscsak <email@hidden>
References: 
 >Items mysteriously disappearing from the destination of a relationship (From: Jean Pierre Malrieu <email@hidden>)

  • Prev by Date: Re: ERXOptGroupPopupButton
  • Next by Date: Re: Items mysteriously disappearing from the destination of a relationship
  • Previous by thread: Items mysteriously disappearing from the destination of a relationship
  • Next by thread: Re: Items mysteriously disappearing from the destination of a relationship
  • Index(es):
    • Date
    • Thread