Fwd: Items mysteriously disappearing from the destination of a relationship
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é : Objet: Items mysteriously disappearing from the destination of a relationship
Date: 18 février 2014 22:40:15 UTC+1
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