Hi List,
I am trying to pin down where a to-one relationship is getting set to null inappropriately.
I added validateMyRelationship() to trap and throw and this is triggered ok when the base object is created / updated.
However, it wasn't called when the relationship was set to null and hence the update proceeded, bypassing my trap.
Does the above scenario ring any bells; why isn't validateMyRelationship() called when I can see the update request to the database follows.
I can't set the relationship to mandatory as in some circumstances null is valid, though it should never change to null after it has been set.
Thanks
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription: