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 protected]> > Objet: Items mysteriously disappearing from the destination of a relationship > Date: 18 février 2014 22:40:15 UTC+1 > À: WebObjects Development <[email protected]> > > 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
