I've had this problem if my foreign key is a class property.

Mark

On 21 June 2011 13:05, Peer Sandtner <[email protected]> wrote:
> Hello all,
>
> I’m having a strange problem saving an object with a specific 
> to-one-relationship. The value for the relationship is set through a 
> WOPopupButton (containing object "A" and "B"); these two objects already 
> exist in the database.
>
> Just before calling ec.saveChanges() the relationship contains object "B" 
> (verified by means of debugger). But what gets saved into the database is 
> object "A". BTW: The "set" method for the to-one-relationship is not touched 
> by anyone after calling saveChanges.
>
> I definitely need some help. ;-)
>
> Regards,
> Peer
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
>
> This email sent to [email protected]
>



-- 
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to