When creating a new object, ERAttachment in transaction won't save
When creating a new object, ERAttachment in transaction won't save
- Subject: When creating a new object, ERAttachment in transaction won't save
- From: P C <email@hidden>
- Date: Wed, 15 Dec 2010 10:39:12 -0800
I have a table called person, and the ERAttachment is an
avatar to that person. My migrations setup initial values for a person, and I can add an avatar (ERAttachment)
to an existing person.
When I try to create a new person (within ERModernLook)
and try to add the avatar I get a NullPropertyException thrown. I think what
happens (correct me if I'm wrong) is that the there is no primary key assigned to my person object and
values for attributes in person object are not saved in the database
and when ERAttachment tries to make a relationship pointing back to the person
object it throws the exception "type: NullPropertyException;
additionalExceptions: ()>".
How do I fix this? Thank you for your help.
Very respectfully,
Peter
_______________________________________________
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