A difficult to find bug (in my code):

Configure ERD2WEditToOneRelationship to show a list of objects. User chooses 
one, validation error - "a prescription must have a medication".

I've had a similar problem before when the foreign key was accidentally a class 
property.

For anyone with a similar problem, make sure your keyWhenRelationship key is 
not returning a text string with a trailing space. It is a difficult to track 
bug but resulted in much pulling of hair. My userPresentableDescription was 
configured to build a string from a number of the object's properties and I 
left a trailing space for some objects.

I've seen prior reports on the mailing list so hope this might solve a similar 
problem for others.

Best wishes,

Mark
-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: [email protected] or [email protected]  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 _______________________________________________
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]

Reply via email to